1.0.0 • Published 3 years ago

js-obfuscate v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

js-obfuscate

Table of Contents

  • Overview
  • Installation

    Overview

    With the help of this package you can obfuscate your all javascript files, in given directiory path.

So follow the instructions and enjoy effortless obfuscation process.

Installation

The javascript code obfuscation is available on npm as js-obfuscate:

$ npm install --save js-obfuscate

Usage

To use the module in your application, require it from any JavaScript file:

var codeObfuscate = require("js-obfuscate");

There is only one method

  • obfuscateJS(dir_name): This method use for code ofuscation. There is one parameter dir_name.

  • The value of this parameter is diractory path. After execution code the all files will obfuscate under this folder.

`Eg: var codeObfuscate = require("js-obfuscate");

var res = obfus.obfuscateJS("./test1",".js")

console.log(res) `

Here test1 is folder which contains many javascript files.

And see, what happens :D , your directories all files hs obfuscated.