pkg
Package Node.js projects into standalone executables for distribution.
Build tools and bundlers npm MIT
How pkg is used
pkg joined the catalog on its public numbers (232,097 downloads a week on npm and 929 GitHub stars), not on our project count: it is a dependency in 7 public GitHub projects of our scan, 3 of them set up for AI coding agents. The most used alternative in our scan is esbuild (290 projects). Projects that use it most often also use Vitest (71.4%), Playwright (JavaScript) (57.1%), Model Context Protocol SDK (JavaScript) (42.9%).
Often used with pkg
| Vitest | 71.4% of pkg projects · 3.5× more than average |
|---|---|
| Playwright (JavaScript) | 57.1% of pkg projects · 3.3× more than average |
| Model Context Protocol SDK (JavaScript) | 42.9% of pkg projects · 4.5× more than average |
| Agent Client Protocol SDK | 42.9% of pkg projects · 71.9× more than average |
| Testing Library | 42.9% of pkg projects · 4.2× more than average |
| @xterm/addon-fit | 42.9% of pkg projects · 76.0× more than average |
| xterm.js | 42.9% of pkg projects · 70.0× more than average |
| esbuild | 42.9% of pkg projects · 9.2× more than average |
How pkg is funded
GitHub Sponsors
| @robertsLando | 33 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay. Sponsors of a person back all of their work.
Ways to fund pkg
GitHub Sponsors Patreon Liberapay Ko-fi Own page Own page
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | npm install @yao-pkg/pkg |
|---|---|
| Main stacks | TypeScript / JavaScript (7) |
| Example projects | vakovalskii/NeuralDeskApp, cin12211/orca-q |
Alternatives to pkg
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside pkg are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| esbuild npm Extremely fast JavaScript and CSS bundler and minifier written in Go. |
82 | 290 (6.0%) | 184M | 40.1K | MIT |
More in Build tools and bundlers: Vite Turborepo Babel (JavaScript) Laravel Vite Plugin React Compiler Babel Plugin Nx vite-tsconfig-paths SWC