【文件属性】:
文件名称:grunt-obfuscator:通过 Grunt 混淆 nodejs 项目
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-06 07:44:49
JavaScript
咕噜声混淆器
通过 Grunt 混淆 nodejs 项目
安装
$ npm install grunt-obfuscator --save-dev
用法
grunt . loadNpmTasks ( 'grunt-obfuscator' ) ;
grunt . initConfig ( {
obfuscator : {
files : [
'app.js' ,
'lib/routes/*.js'
] ,
entry : 'app.js' ,
out : 'obfuscated.js' ,
strings : true ,
root : __dirname
}
} ) ;
选项
files
要混淆的文件数组。 这必须包括项目中的每个require() -ed 文件。 接受通配符, eg "./lib/**/
【文件预览】:
grunt-obfuscator-master
----.gitignore(29B)
----package.json(540B)
----Makefile(188B)
----History.md(186B)
----.travis.yml(92B)
----Readme.md(2KB)
----example()
--------app.js(63B)
--------foo.js(47B)
--------Gruntfile.js(230B)
--------bar.js(47B)
--------foobar.js(139B)
----.npmignore(21B)
----test()
--------simple.js(247B)
----tasks()
--------index.js(872B)