1. 程式人生 > >前端程式碼混淆工具javascript-obfuscator

前端程式碼混淆工具javascript-obfuscator

安裝:

    sudo npm install -g javascript-obfuscator

可能遇到的問題:

npm WARN saveError ENOENT: no such file or directory, open '/Users/tugame/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/tugame/package.json'
npm WARN tugame No description
npm WARN tugame No repository field.
npm WARN tugame No README data
npm WARN tugame No license field.

解決方案:

npm init -f
npm install formidable --save