Node.js

4 Ways to Install Node.js
installing node

NVM downloads, installs, upgrades, and switches between multiple version of Node.js/NPM
nvm

Completely remove node, npm, nodemon
Ubuntu 14.04

sudo apt-get remove nodejs npm node nodemon
sudo rm -rf ~/.npm


Best Practices

Async / Await patterns

Debugging


debugging options - Rising Stack
chrome inspector docs
chrome debugger - profiler, memory
node inspector - Medium

  • Complete breakpoint debugging, stepping w/ blackboxing
  • Source maps for transpiled code
  • LiveEdit: JavaScript hot-swap evaluation w/ V8
  • Console evaluation with ES6 feature/object support and custom object formatting
  • Sampling JavaScript profiler w/ flamechart
  • Heap snapshot inspection, heap allocation timeline, allocation profiling
  • Asynchronous stacks for native promises

Comments

Popular posts from this blog

Sites, Newsletters, and Blogs

Oracle JDBC ReadTimeout QueryTimeout

Locks held on Oracle for hours after sessions abnormally terminated by node failure