Skip to content

Instantly share code, notes, and snippets.

@ndrut
Created January 16, 2014 15:49
Show Gist options
  • Save ndrut/8457198 to your computer and use it in GitHub Desktop.
Save ndrut/8457198 to your computer and use it in GitHub Desktop.
[root@git awd]# npm install lodash
npm http GET https://registry.npmjs.org/lodash
npm http 200 https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 200 https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
[email protected] node_modules/lodash
[root@git awd]# vim checklodash.js
[root@git awd]# node checklodash.js
[root@git awd]# cat checklodash.js
var lodash = require('lodash');
[root@git awd]# node -v
v0.10.21
[root@git awd]# npm -v
1.3.6
[root@git a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment