From 805cec65dcd1dc269a7e2834e0e3cc04b03b3d4e Mon Sep 17 00:00:00 2001 From: sanex3339 Date: Thu, 23 Jun 2016 23:11:23 +0300 Subject: [PATCH] update README --- readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index cbd69ce3..09f7314f 100644 --- a/readme.md +++ b/readme.md @@ -20,7 +20,7 @@ Install the package from NPM and add it to your `devDependencies`: $ npm install --save-dev javascript-obfuscator ``` -## Node Usage +## Node.js usage Here's an example of how to use it: @@ -59,9 +59,11 @@ This is the main function that runs the Obfuscator. It takes two parameters, `so * `sourceCode` (`string`, default: `null`) – any valid source code, passed as a string variable. JS Obfuscator will parse this string and apply a set of modificating functions to it, generating a string with the new (obfuscated) code and printing it to the console; * `options` (`Object`, default: `null`) – an object literal. -## CLI Usage +## CLI usage Usage: `javascript-obfuscator [options] < in.js > out.js` +Example: `javascript-obfuscator --compact false --selfDefending false < in.js > out.js` + See CLI options below. ## JavaScript Obfuscator Options