Installation.
Add void to any project in one command.
Requirements
Any runtime that can do nothing. Node.js, Deno, Bun and browsers all qualify.
Install
pnpm add void
Verify
import { run } from 'void'
run() // undefined
If the call returns undefined, void is installed correctly. If it returns anything else, you have installed something else.