Download: WebM (14 MB) MP4 (35 MB)
Episode 4: Packages and npm
Packages allow programmers to share their modules with the world. Find out how to use npm to install packages and manage package dependencies for an application.
Links
- npm
- npm documentation (same content as the
npm helpman pages) - Versioning
Common npm Commands
npm init- create a package.json file interactivelynpm install <package>- install a package into node_modulesnpm install <package> --save- install a package and save a dependency in package.jsonnpm update <package>- update a package to the latest version allowed by the version specification in package.jsonnpm outdated- show packages that have versions newer than the one installed that are allowed by the version specification in package.jsonnpm ls- see all packages your package depends on
Log in to add your comment!

There is alot of change in the node community/code and as a noob in node it is really helpful with updated tutorials like this one!