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 13.8K GitHub stars and 521 GitHub forks. Here’s a link to pkg's open source repository on GitHub

Who uses pkg?

Companies
No company stacks found

Developers

pkg Integrations

Why developers like pkg?

Here’s a list of reasons why companies and developers use pkg
Top Reasons
Be the first to leave a pro

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.
Underscore
A JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects.
lodash
A JavaScript utility library delivering consistency, modularity, performance, & extras.
Immutable.js
Immutable provides Persistent Immutable List, Stack, Map, OrderedMap, Set, OrderedSet and Record. They are highly efficient on modern JavaScript VMs by using structural sharing via hash maps tries and vector tries as popularized by Clojure and Scala, minimizing the need to copy or cache data.
UglifyJS
This package implements a general-purpose JavaScript parser/compressor/beautifier toolkit. It is developed on NodeJS, but it should work on any JavaScript platform supporting the CommonJS module system (and if your platform of choice doesn’t support CommonJS, you can easily implement it, or discard the exports.* lines from UglifyJS sources).
See all alternatives
Related Comparisons

pkg's Stats