Skip to content

Instantly share code, notes, and snippets.

@Atlas7
Created October 4, 2015 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Atlas7/dd52b2e18da0823565d2 to your computer and use it in GitHub Desktop.
Save Atlas7/dd52b2e18da0823565d2 to your computer and use it in GitHub Desktop.
TutorialPoints - NodeJS - Notes

Some notes taken when walking through the TutorialPoints - NodeJs Tutorials.

I am on Windows 8.1 Laptop - particularly interest on cross platform compatability and understanding where things go (folder structure).

NPM Local vs Global Install

npm Global Install to ``

Johnny ~ $ npm install npm -g

C:\Users\Johnny\AppData\Roaming\npm\npm -> C:\Users\Johnny\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
npm@3.3.5 C:\Users\Johnny\AppData\Roaming\npm\node_modules\npm

npm Local Install: to C:\Users\Johnny\node_modules

Johnny tp5_npm_express $ npm install express
express@4.13.3 ..\..\..\node_modules\express
├── cookie@0.1.3
├── merge-descriptors@1.0.0
├── escape-html@1.0.2
├── array-flatten@1.1.1
├── utils-merge@1.0.0
├── methods@1.1.1
├── range-parser@1.0.2
├── fresh@0.3.0
├── cookie-signature@1.0.6
├── serve-static@1.10.0
├── vary@1.0.1
├── content-type@1.0.1
├── path-to-regexp@0.1.7
├── etag@1.7.0
├── content-disposition@0.5.0
├── parseurl@1.3.0
├── depd@1.0.1
├── qs@4.0.0
├── on-finished@2.3.0 (ee-first@1.1.1)
├── finalhandler@0.4.0 (unpipe@1.0.0)
├── proxy-addr@1.0.8 (forwarded@0.1.0, ipaddr.js@1.0.1)
├── debug@2.2.0 (ms@0.7.1)
├── accepts@1.2.13 (negotiator@0.5.3, mime-types@2.1.7)
├── type-is@1.6.9 (media-typer@0.3.0, mime-types@2.1.7)
└── send@0.13.0 (destroy@1.0.3, statuses@1.2.1, ms@0.7.1, mime@1.3.4, http-errors@1.3.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment