webfuscator 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,6 +24,14 @@ npm install webfuscator
24
24
  ```js
25
25
  import { obfuscate } from 'webfuscator'
26
26
 
27
+ const source = `
28
+ function greet(name) {
29
+ console.log('Hello, ' + name)
30
+ }
31
+
32
+ greet('world')
33
+ `
34
+
27
35
  const code = obfuscate(source, {
28
36
  stringGeneratorMode: 'mangled', // Other modes: hexadecimal, randomized, zeroWidth, number
29
37
  seed: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webfuscator",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "JavaScript obfuscator built on Babel",
5
5
  "keywords": [
6
6
  "babel",