An example of JavaScript code protection
An example of JavaScript code protection.
This repository contains an example of JavaScript code protection using javascript-obfuscator, bytenode and node-packer.
npm install
.npm run obfuscate
: obfuscate the index.js
to index-obfuscated.js
npm run bytenode
: compile the index-obfuscated.js
to index-obfuscated.jsc
npm run bytenode:run
: run the index-obfuscated.jsc
npm run nodec
: package your Node.js projectnpm run build
: package your Node.js project into an executable that is obfuscated and compiled