Node and NPM basics Flashcards
1
Q
run app.js
with node
A
node app.js
2
Q
How do you pass variables to file in node
A
> node app.js var1 var2
process. argv[2]
process. argv[3]
3
Q
Install npm module
A
> npm install package_name
4
Q
create package.json
A
> npm init