1.1.1 • Published 6 years ago
nodeco v1.1.1
nodeco
Instalation
npm i -g nodecoUsage
Usage: nodeco [options] <input-file>
Options:
-s, --secret <secret> Specify secret key to encrypt project
-o --out <output> Output directory for build (defaults to output)
-h, --help display help for commandEg:
nodeco index.js -s MySecret -o outputRun compiled project
node output/index.jsNotes
- after running command it creates output directory (defaults to output).
├── index.js
└── src
├── index.jsco
└── nodeco.js- Your project compiles and encrypted to src/index.jsco.
- Secret is saved in .env file.
- index.js file get secret from .env, and run project