Create a new node module

From Bitpost wiki
Revision as of 18:49, 1 June 2016 by M (talk | contribs) (Created page with "* create a wiki page off of in-progress Projects * mkdir ~/development/websockets-tester && cd ~/development/websockets-tester author up a new node pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • create a wiki page off of in-progress Projects
  • mkdir ~/development/websockets-tester && cd ~/development/websockets-tester

author up a new node package

  • cp mah-haus project
  • # clean index.js package.json to use wst (our top-level command) (don't worry about ws dependency, we add that next)
  • npm install --save ws # to install a local copy under node_modules, and add dep to package.json