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 a tool in the Javascript Utilities & Libraries category of a tech stack.
pkg is an open source tool with GitHub stars and GitHub forks. Here’s a link to pkg's open source repository on GitHub
Who uses pkg?
Companies
5 companies reportedly use pkg in their tech stacks, including Agile Factory, BoxLogix Automation, and Undetect.
Developers
90 developers on StackShare have stated that they use pkg.
pkg Integrations
pkg's Features
- 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?
Marvel
A super simple tool that turns any image (including PSDs) or sketch into interactive prototypes for any device.
Powered by Dropbox.
jQuery
jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
AngularJS
AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
Vue.js
It is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.