poku

(β˜… 1,176)

🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.

File Explorer

  • .editorconfig
  • .gitattributes
  • .gitignore
  • .npmrc
  • .nycrc
  • .prettierignore
  • .prettierrc
  • AGENTS.md
  • biome.jsonc
  • CHANGELOG.md
  • CLAUDE.md
  • CODE_OF_CONDUCT.md
  • codecov.yml
  • context7.json
  • CONTRIBUTING.md
  • deno.json
  • LICENSE
  • package-lock.json
  • package.json
  • README.md
  • SECURITY.md
  • tea.yaml
  • tsconfig.json

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

πŸ”

bun add

View Details β–Ό

Add and install new dependencies to the current project.

bun {{[a|add]}} {{package}}

Install a single package:

bun {{[a|add]}} {{package1 package2 ...}}

Install multiple packages:

bun {{[a|add]}} {{git_url}}

Install from a Git repository:

πŸ”

bun

View Details β–Ό

JavaScript runtime and toolkit.
Includes a bundler, a test runner, and a package manager.

bun init

Create a new Bun project in the current directory:

bun run {{path/to/file|script_name}}

Run a JavaScript file or a `package.json` script:

bun test

Run unit tests:

πŸ”

deno

View Details β–Ό

A secure runtime for JavaScript, TypeScript, and WebAssembly.
Includes dependency management using `npm` or `jsr`, and tooling like bench, bundle, doc, and coverage.

deno

Start a REPL (interactive shell, also known as Read-Eval-Print Loop):

deno init sample && cd sample && deno test

Start a new project named sample and test it:

deno run {{path/to/file.ts}}

Run a file securely. It will ask (if needed) to allow net, read, etc:

πŸ”

npm

View Details β–Ό

JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.

npm init {{[-y|--yes]}}

Create a `package.json` file with default values (omit `--yes` to do it interactively):

npm {{[i|install]}}

Download all the packages listed as dependencies in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

πŸ”

npx

View Details β–Ό

This command is an alias of `npm exec`.

tldr npm exec

View documentation for the original command:

// repository documentation