iWinston / javascript-code-protection-example

An example of JavaScript code protection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

javascript-code-protection-example

An example of JavaScript code protection.

Introduction

This repository contains an example of JavaScript code protection using javascript-obfuscator, bytenode and node-packer.

For Local Development

Command Usage

  • 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 project
  • npm run build: package your Node.js project into an executable that is obfuscated and compiled

About

An example of JavaScript code protection

License:MIT License


Languages

Language:JavaScript 100.0%