obfuscateobfuscate
gulp plugin to obfuscate your code.
gulp-obfuscate obfuscates your javascript code so that it looks like this:
and this:
--
--
Type: ZALGO or LOOK_OF_DISAPPROVAL
Default: LOOK_OF_DISAPPROVAL
Example:
Note: Both obfuscation methods create valid javascript variables per ECMAScript 5.1.That said, there is no guarantee that older browsers can handle the mighty power of ZALGO.
Type: String or Array of Strings
Default: 'break', 'case', 'catch', 'continue', 'debugger', 'default', 'delete', 'do', 'else', 'finally', 'for', 'function', 'if', 'in', 'instanceof', 'new', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'var', 'void', 'while', 'with', 'prototype', 'null', 'true', 'false', 'NaN', 'undefined', 'Infinity', 'ಠ_ಠ', 'H͇̬͔̳̖̅̒ͥͧẸ̖͇͈͍̱̭̌͂͆͊_C͈OM̱̈́͛̈ͩ͐͊ͦEͨ̓̐S̬̘͍͕͔͊̆̑̈́̅'
Values: do_not_replace, abc, ...
Regular expressions to be globally excluded from obfuscation. Current defaults include javascript reserved words.Custom exclusions are often needed for variables or functions that need to stay named the same (such as inteces to other code).
Note: defaults will be automatically appended to any options.exclude variables provided.
See gulp-regex-replace documentation for more details.
MIT © Mike Groseclose
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-42189-1.html
都说天鹅是白色的
他在体制内演讲