Disclose
Pack your Node.js project into an executable without recompiling Node.js.
Installation
$ gem install disclose
Dependencies
Make sure that your system has the following components,
- tar
- gzip
- xxd
- gcc
or on Windows,
tar.exe
, which could be installed by gnuwin32gzip.exe
, which could be installed by gnuwin32xxd.exe
, which could be installed by gvimgcc.exe
, which could be installed by mingw-w64
The generated executable file is guaranteed to have no external dependencies.
Usage
$ disclose [node_path] [project_path]
Example
On Windows,
> disclose "C:\Program Files\nodejs\node.exe" "C:\Users\pmq20\AppData\Roaming\npm\node_modules\coffee-script"
On Unix,
$ disclose /usr/local/bin/node /usr/local/lib/node_modules/coffee-script
License
The gem is available as open source under the terms of the MIT License.