NodeJS refresher

In notebook:
FrontEndMasters API design
Created at:
2016-03-13
Updated:
2016-03-13
Tags:
backend JavaScript
Scott Moss

repo: GitHub repo
slides

3-day workshop.
Design API, Mongo, build it, test it

Nodejs refresher

Run JS outside the context of the browser. It's not a framework. Can use it for tooling or servers.
Shows node JS REPL (same as Chrome console minus the html APIs).

- can you add html APIs?
there are mocks and modules. for example some animation libraries that expect the DOM API.
Talks about UMD - can run in browser or on nodejs. Universal Module Definition

NPM

Scott doesn't know what it exactly stands for. Surely not Node Package Manager.
package.json tells what to install. 
Npm is a separate entity from NodeJS
All third-party modules go into node_modules dir by default.