My Node.js notes

From Got Opinion Wiki
Revision as of 15:18, 17 March 2019 by Paul (talk | contribs) (add npm section)
Jump to navigation Jump to search

Node.js Package Manager (npm)

npm

Initialize an npm project. Within project directory use npm init command. The default command launches a questionnaire. To answer default on all questions use -y argument.


Basic stuff

debugger statement and node inspect

chrome:://inspect

Exit Chrome DevTool debugger.

Type restart at console after exiting Chrome DevTool to restart app with same arguments.

Press CTRL+C twice to exit debugger in console.

Resources

Node.js home

To software notes