update README

This commit is contained in:
sanex3339
2016-06-23 22:54:18 +03:00
parent 988a7b1b6d
commit 6053bdd006
+4 -2
View File
@@ -59,7 +59,7 @@ 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
## CLI
Usage: `javascript-obfuscator [options] < in.js > out.js`
See CLI options below.
@@ -68,6 +68,8 @@ See CLI options below.
At this moment of time, there are following options (`name: default`) available for the JS Obfuscator:
#### options:
```javascript
{
compact: true,
@@ -84,7 +86,7 @@ At this moment of time, there are following options (`name: default`) available
}
```
CLI options
#### CLI options:
```
--compact <boolean>
--debugProtection <boolean>