
json input file, add indentation (tabs, spaces) and console log the beautified much more readable JSON. Install it globally by running npm i pkg -g You can also use it programmatically but we will come to that. PKG is a command line tool that simplifies the build process of your app. In this post I will focus on using pkg because it is free (open source) and in my experience so far the most pleasant to work with. There are a few tools out there that do pretty much the same thing.


hide API credentials - Same difference as protecting source code.protect source code from being altered or copied - You can't open executable files in a simple text editor.I am surprised because this is actually pretty simple.

A question I get asked so many times by so many people is how to compile a Node app to a single executable.
