cd /root/U64DengOnMyWorkVBox
ls -l | grep "^d*"| wc -l //count for folders
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
apt-get install nodejs
//nodejs is the newest!
ls -l | grep "^d*"| wc -l //count for folders
npm -v
//5.6.0
/*
if npm is not the version you want, use
npm install npm@latest -g // npm install npm@ver -g
///updated to 5.6.0
*/
int your prj folder:
npm init
name:
(default)
ver:use the smallest and let it update
1.0.0
description:
npm init javascript-obfuscator, zxxu
git repository:
https://github.com/javascript-obfuscator/javascript-obfuscator
//If you want to depend on the package from your own module, using something like Node.js' require, then you want to install locally. This is npm install's default behavior.
//npm install --save-dev javascript-obfuscator
npm install javascript-obfuscator
No comments:
Post a Comment