What is pkg?
This command line interface enables you to package your Node.js project into an executable that can be run even on devices without Node.js installed.
pkg is an open source tool with 17.5K GitHub stars and 724 GitHub forks. Here’s a link to pkg's open source repository on GitHub
Who uses pkg?
3 companies reportedly use pkg in their tech stacks, including Agile Factory, BoxLogix Automation, and ASIC Gateway.
52 developers on StackShare have stated that they use pkg.
- Make a commercial version of your application without sources
- Make a demo/evaluation/trial version of your app without sources
- Instantly make executables for other platforms (cross-compilation)
- Make some kind of self-extracting archive or installer
- No need to install Node.js and npm to run the packaged application
- No need to download hundreds of files via npm install to deploy your application. Deploy it as a single file
- Put your assets inside the executable to make it even more portable
- Test your app against new Node.js version without installing it
pkg Alternatives & Comparisons
What are some alternatives to pkg?
See all alternatives
A super simple tool that turns any image (including PSDs) or sketch into interactive prototypes for any device. Powered by Dropbox.