Skip to content

Instantly share code, notes, and snippets.

@mourner
Created November 2, 2015 12:33
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 mourner/d4e6f81da5e974aa9275 to your computer and use it in GitHub Desktop.
Save mourner/d4e6f81da5e974aa9275 to your computer and use it in GitHub Desktop.
~/projects/test → npm -v
2.14.4
~/projects/test → npm cache clean
~/projects/test → time npm install eslint
eslint@1.8.0 node_modules/eslint
├── escape-string-regexp@1.0.3
├── object-assign@2.1.1
├── path-is-absolute@1.0.0
├── path-is-inside@1.0.1
├── xml-escape@1.0.0
├── user-home@1.1.1
├── strip-json-comments@1.0.4
├── estraverse-fb@1.3.1
├── globals@8.11.0
├── estraverse@4.1.1
├── text-table@0.2.0
├── esutils@2.0.2
├── to-double-quotes@1.0.2 (get-stdin@3.0.2)
├── to-single-quotes@1.0.4 (get-stdin@3.0.2)
├── is-resolvable@1.0.0 (tryit@1.0.2)
├── shelljs@0.3.0
├── json-stable-stringify@1.0.0 (jsonify@0.0.0)
├── doctrine@0.7.0 (isarray@0.0.1, esutils@1.1.6)
├── espree@2.2.5
├── mkdirp@0.5.1 (minimist@0.0.8)
├── debug@2.2.0 (ms@0.7.1)
├── optionator@0.5.0 (fast-levenshtein@1.0.7, type-check@0.3.1, deep-is@0.1.3, levn@0.2.5, wordwrap@0.0.3, prelude-ls@1.1.2)
├── chalk@1.1.1 (supports-color@2.0.0, ansi-styles@2.1.0, has-ansi@2.0.0, strip-ansi@3.0.0)
├── lodash.merge@3.3.2 (lodash._arrayeach@3.0.0, lodash._arraycopy@3.0.0, lodash.isarguments@3.0.4, lodash._getnative@3.9.1, lodash.keysin@3.0.8, lodash.istypedarray@3.0.2, lodash.isarray@3.0.4, lodash.keys@3.1.2, lodash.toplainobject@3.0.0, lodash.isplainobject@3.2.0, lodash._createassigner@3.1.1)
├── minimatch@2.0.10 (brace-expansion@1.1.1)
├── lodash.clonedeep@3.0.2 (lodash._bindcallback@3.0.1, lodash._baseclone@3.3.0)
├── glob@5.0.15 (inherits@2.0.1, inflight@1.0.4, once@1.3.2)
├── concat-stream@1.5.1 (inherits@2.0.1, typedarray@0.0.6, readable-stream@2.0.4)
├── lodash.omit@3.1.0 (lodash._arraymap@3.0.0, lodash._pickbyarray@3.0.2, lodash._bindcallback@3.0.1, lodash.restparam@3.6.1, lodash._baseflatten@3.1.4, lodash.keysin@3.0.8, lodash._pickbycallback@3.0.0, lodash._basedifference@3.0.3)
├── is-my-json-valid@2.12.2 (jsonpointer@2.0.0, generate-function@2.0.0, xtend@4.0.0, generate-object-property@1.2.0)
├── inquirer@0.9.0 (strip-ansi@3.0.0, ansi-regex@2.0.0, figures@1.4.0, cli-width@1.1.0, through@2.3.8, run-async@0.1.0, readline2@0.1.1, rx-lite@2.5.2, lodash@3.10.1)
├── file-entry-cache@1.2.4 (object-assign@4.0.1, flat-cache@1.0.10)
├── js-yaml@3.4.3 (esprima@2.7.0, argparse@1.0.3)
├── escope@3.2.0 (esrecurse@3.1.1, estraverse@3.1.0, es6-map@0.1.2, es6-weak-map@0.1.4)
└── handlebars@4.0.4 (async@1.5.0, optimist@0.6.1, source-map@0.4.4, uglify-js@2.4.24)
real 0m14.305s
user 0m10.596s
sys 0m3.621s
~/projects/test → rm -rf node_modules/
~/projects/test → time npm install eslint
eslint@1.8.0 node_modules/eslint
├── escape-string-regexp@1.0.3
├── object-assign@2.1.1
├── path-is-inside@1.0.1
├── path-is-absolute@1.0.0
├── xml-escape@1.0.0
├── user-home@1.1.1
├── strip-json-comments@1.0.4
├── estraverse-fb@1.3.1
├── globals@8.11.0
├── estraverse@4.1.1
├── text-table@0.2.0
├── esutils@2.0.2
├── is-resolvable@1.0.0 (tryit@1.0.2)
├── to-single-quotes@1.0.4 (get-stdin@3.0.2)
├── to-double-quotes@1.0.2 (get-stdin@3.0.2)
├── shelljs@0.3.0
├── mkdirp@0.5.1 (minimist@0.0.8)
├── json-stable-stringify@1.0.0 (jsonify@0.0.0)
├── doctrine@0.7.0 (isarray@0.0.1, esutils@1.1.6)
├── espree@2.2.5
├── debug@2.2.0 (ms@0.7.1)
├── chalk@1.1.1 (supports-color@2.0.0, ansi-styles@2.1.0, has-ansi@2.0.0, strip-ansi@3.0.0)
├── optionator@0.5.0 (fast-levenshtein@1.0.7, type-check@0.3.1, deep-is@0.1.3, levn@0.2.5, wordwrap@0.0.3, prelude-ls@1.1.2)
├── lodash.merge@3.3.2 (lodash._arraycopy@3.0.0, lodash._arrayeach@3.0.0, lodash.isarguments@3.0.4, lodash._getnative@3.9.1, lodash.istypedarray@3.0.2, lodash.keysin@3.0.8, lodash.isarray@3.0.4, lodash.keys@3.1.2, lodash.isplainobject@3.2.0, lodash.toplainobject@3.0.0, lodash._createassigner@3.1.1)
├── lodash.clonedeep@3.0.2 (lodash._bindcallback@3.0.1, lodash._baseclone@3.3.0)
├── glob@5.0.15 (inherits@2.0.1, inflight@1.0.4, once@1.3.2)
├── minimatch@2.0.10 (brace-expansion@1.1.1)
├── concat-stream@1.5.1 (inherits@2.0.1, typedarray@0.0.6, readable-stream@2.0.4)
├── is-my-json-valid@2.12.2 (jsonpointer@2.0.0, generate-function@2.0.0, xtend@4.0.0, generate-object-property@1.2.0)
├── lodash.omit@3.1.0 (lodash._arraymap@3.0.0, lodash._bindcallback@3.0.1, lodash._pickbyarray@3.0.2, lodash.restparam@3.6.1, lodash._pickbycallback@3.0.0, lodash._baseflatten@3.1.4, lodash.keysin@3.0.8, lodash._basedifference@3.0.3)
├── file-entry-cache@1.2.4 (object-assign@4.0.1, flat-cache@1.0.10)
├── inquirer@0.9.0 (strip-ansi@3.0.0, ansi-regex@2.0.0, figures@1.4.0, cli-width@1.1.0, through@2.3.8, readline2@0.1.1, run-async@0.1.0, rx-lite@2.5.2, lodash@3.10.1)
├── js-yaml@3.4.3 (esprima@2.7.0, argparse@1.0.3)
├── escope@3.2.0 (esrecurse@3.1.1, estraverse@3.1.0, es6-map@0.1.2, es6-weak-map@0.1.4)
└── handlebars@4.0.4 (async@1.5.0, optimist@0.6.1, source-map@0.4.4, uglify-js@2.4.24)
real 0m11.009s
user 0m9.259s
sys 0m3.012s
~/projects/test → npm install -g npm@latest
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
npm@3.3.10 /usr/local/lib/node_modules/npm
~/projects/test → npm -v
3.3.10
~/projects/test → npm cache clean
~/projects/test → rm -rf node_modules/
~/projects/test → time npm install eslint
/Users/mourner/projects/test
└─┬ eslint@1.8.0
├─┬ chalk@1.1.1
│ ├── ansi-styles@2.1.0
│ ├── has-ansi@2.0.0
│ ├── strip-ansi@3.0.0
│ └── supports-color@2.0.0
├─┬ concat-stream@1.5.1
│ ├── inherits@2.0.1
│ ├─┬ readable-stream@2.0.4
│ │ ├── core-util-is@1.0.1
│ │ ├── process-nextick-args@1.0.3
│ │ ├── string_decoder@0.10.31
│ │ └── util-deprecate@1.0.2
│ └── typedarray@0.0.6
├─┬ debug@2.2.0
│ └── ms@0.7.1
├─┬ doctrine@0.7.0
│ ├── esutils@1.1.6
│ └── isarray@0.0.1
├── escape-string-regexp@1.0.3
├─┬ escope@3.2.0
│ ├─┬ es6-map@0.1.2
│ │ ├── d@0.1.1
│ │ ├── es5-ext@0.10.8
│ │ ├── es6-iterator@2.0.0
│ │ ├── es6-set@0.1.2
│ │ ├── es6-symbol@3.0.1
│ │ └── event-emitter@0.3.4
│ ├─┬ es6-weak-map@0.1.4
│ │ ├── es6-iterator@0.1.3
│ │ └── es6-symbol@2.0.1
│ ├─┬ esrecurse@3.1.1
│ │ └── estraverse@3.1.0
│ └── estraverse@3.1.0
├── espree@2.2.5
├── estraverse@4.1.1
├── estraverse-fb@1.3.1
├── esutils@2.0.2
├─┬ file-entry-cache@1.2.4
│ ├─┬ flat-cache@1.0.10
│ │ ├─┬ del@2.0.2
│ │ │ ├─┬ globby@3.0.1
│ │ │ │ ├─┬ array-union@1.0.1
│ │ │ │ │ └── array-uniq@1.0.2
│ │ │ │ ├── arrify@1.0.0
│ │ │ │ └── object-assign@4.0.1
│ │ │ ├── is-path-cwd@1.0.0
│ │ │ ├─┬ is-path-in-cwd@1.0.0
│ │ │ │ └── is-path-inside@1.0.0
│ │ │ ├── object-assign@4.0.1
│ │ │ ├── pify@2.3.0
│ │ │ ├─┬ pinkie-promise@1.0.0
│ │ │ │ └── pinkie@1.0.0
│ │ │ └── rimraf@2.4.3
│ │ ├── graceful-fs@4.1.2
│ │ ├─┬ read-json-sync@1.1.0
│ │ │ └── graceful-fs@3.0.8
│ │ └── write@0.2.1
│ └── object-assign@4.0.1
├─┬ glob@5.0.15
│ ├─┬ inflight@1.0.4
│ │ └── wrappy@1.0.1
│ └── once@1.3.2
├── globals@8.11.0
├─┬ handlebars@4.0.4
│ ├── async@1.5.0
│ ├── optimist@0.6.1
│ ├─┬ source-map@0.4.4
│ │ └── amdefine@1.0.0
│ └─┬ uglify-js@2.4.24
│ ├── async@0.2.10
│ ├── source-map@0.1.34
│ ├── uglify-to-browserify@1.0.2
│ └─┬ yargs@3.5.4
│ ├── camelcase@1.2.1
│ ├── decamelize@1.1.1
│ ├── window-size@0.1.0
│ └── wordwrap@0.0.2
├─┬ inquirer@0.9.0
│ ├── ansi-regex@2.0.0
│ ├── cli-width@1.1.0
│ ├── figures@1.4.0
│ ├── lodash@3.10.1
│ ├─┬ readline2@0.1.1
│ │ ├── mute-stream@0.0.4
│ │ └─┬ strip-ansi@2.0.1
│ │ └── ansi-regex@1.1.1
│ ├── run-async@0.1.0
│ ├── rx-lite@2.5.2
│ └── through@2.3.8
├─┬ is-my-json-valid@2.12.2
│ ├── generate-function@2.0.0
│ ├─┬ generate-object-property@1.2.0
│ │ └── is-property@1.0.2
│ ├── jsonpointer@2.0.0
│ └── xtend@4.0.0
├─┬ is-resolvable@1.0.0
│ └── tryit@1.0.2
├─┬ js-yaml@3.4.3
│ ├─┬ argparse@1.0.3
│ │ └── sprintf-js@1.0.3
│ └── esprima@2.7.0
├─┬ json-stable-stringify@1.0.0
│ └── jsonify@0.0.0
├─┬ lodash.clonedeep@3.0.2
│ ├─┬ lodash._baseclone@3.3.0
│ │ ├── lodash._baseassign@3.2.0
│ │ └── lodash._basefor@3.0.2
│ └── lodash._bindcallback@3.0.1
├─┬ lodash.merge@3.3.2
│ ├── lodash._arraycopy@3.0.0
│ ├── lodash._arrayeach@3.0.0
│ ├─┬ lodash._createassigner@3.1.1
│ │ └── lodash._isiterateecall@3.0.9
│ ├── lodash._getnative@3.9.1
│ ├── lodash.isarguments@3.0.4
│ ├── lodash.isarray@3.0.4
│ ├── lodash.isplainobject@3.2.0
│ ├── lodash.istypedarray@3.0.2
│ ├── lodash.keys@3.1.2
│ ├── lodash.keysin@3.0.8
│ └─┬ lodash.toplainobject@3.0.0
│ └── lodash._basecopy@3.0.1
├─┬ lodash.omit@3.1.0
│ ├── lodash._arraymap@3.0.0
│ ├─┬ lodash._basedifference@3.0.3
│ │ ├── lodash._baseindexof@3.1.0
│ │ ├── lodash._cacheindexof@3.0.2
│ │ └── lodash._createcache@3.1.2
│ ├── lodash._baseflatten@3.1.4
│ ├── lodash._pickbyarray@3.0.2
│ ├── lodash._pickbycallback@3.0.0
│ └── lodash.restparam@3.6.1
├─┬ minimatch@2.0.10
│ └─┬ brace-expansion@1.1.1
│ ├── balanced-match@0.2.1
│ └── concat-map@0.0.1
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├── object-assign@2.1.1
├─┬ optionator@0.5.0
│ ├── deep-is@0.1.3
│ ├── fast-levenshtein@1.0.7
│ ├── levn@0.2.5
│ ├── prelude-ls@1.1.2
│ ├── type-check@0.3.1
│ └── wordwrap@0.0.3
├── path-is-absolute@1.0.0
├── path-is-inside@1.0.1
├── shelljs@0.3.0
├── strip-json-comments@1.0.4
├── text-table@0.2.0
├─┬ to-double-quotes@1.0.2
│ └── get-stdin@3.0.2
├── to-single-quotes@1.0.4
├── user-home@1.1.1
└── xml-escape@1.0.0
npm WARN ENOENT ENOENT, open '/Users/mourner/projects/test/package.json'
npm WARN EPACKAGEJSON test No description
npm WARN EPACKAGEJSON test No repository field.
npm WARN EPACKAGEJSON test No README data
npm WARN EPACKAGEJSON test No license field.
real 0m44.157s
user 0m9.972s
sys 0m2.328s
~/projects/test → rm -rf node_modules/
~/projects/test → time npm install eslint
/Users/mourner/projects/test
└─┬ eslint@1.8.0
├─┬ chalk@1.1.1
│ ├── ansi-styles@2.1.0
│ ├── has-ansi@2.0.0
│ ├── strip-ansi@3.0.0
│ └── supports-color@2.0.0
├─┬ concat-stream@1.5.1
│ ├── inherits@2.0.1
│ ├─┬ readable-stream@2.0.4
│ │ ├── core-util-is@1.0.1
│ │ ├── process-nextick-args@1.0.3
│ │ ├── string_decoder@0.10.31
│ │ └── util-deprecate@1.0.2
│ └── typedarray@0.0.6
├─┬ debug@2.2.0
│ └── ms@0.7.1
├─┬ doctrine@0.7.0
│ ├── esutils@1.1.6
│ └── isarray@0.0.1
├── escape-string-regexp@1.0.3
├─┬ escope@3.2.0
│ ├─┬ es6-map@0.1.2
│ │ ├── d@0.1.1
│ │ ├── es5-ext@0.10.8
│ │ ├── es6-iterator@2.0.0
│ │ ├── es6-set@0.1.2
│ │ ├── es6-symbol@3.0.1
│ │ └── event-emitter@0.3.4
│ ├─┬ es6-weak-map@0.1.4
│ │ ├── es6-iterator@0.1.3
│ │ └── es6-symbol@2.0.1
│ ├─┬ esrecurse@3.1.1
│ │ └── estraverse@3.1.0
│ └── estraverse@3.1.0
├── espree@2.2.5
├── estraverse@4.1.1
├── estraverse-fb@1.3.1
├── esutils@2.0.2
├─┬ file-entry-cache@1.2.4
│ ├─┬ flat-cache@1.0.10
│ │ ├─┬ del@2.0.2
│ │ │ ├─┬ globby@3.0.1
│ │ │ │ ├─┬ array-union@1.0.1
│ │ │ │ │ └── array-uniq@1.0.2
│ │ │ │ ├── arrify@1.0.0
│ │ │ │ └── object-assign@4.0.1
│ │ │ ├── is-path-cwd@1.0.0
│ │ │ ├─┬ is-path-in-cwd@1.0.0
│ │ │ │ └── is-path-inside@1.0.0
│ │ │ ├── object-assign@4.0.1
│ │ │ ├── pify@2.3.0
│ │ │ ├─┬ pinkie-promise@1.0.0
│ │ │ │ └── pinkie@1.0.0
│ │ │ └── rimraf@2.4.3
│ │ ├── graceful-fs@4.1.2
│ │ ├─┬ read-json-sync@1.1.0
│ │ │ └── graceful-fs@3.0.8
│ │ └── write@0.2.1
│ └── object-assign@4.0.1
├─┬ glob@5.0.15
│ ├─┬ inflight@1.0.4
│ │ └── wrappy@1.0.1
│ └── once@1.3.2
├── globals@8.11.0
├─┬ handlebars@4.0.4
│ ├── async@1.5.0
│ ├── optimist@0.6.1
│ ├─┬ source-map@0.4.4
│ │ └── amdefine@1.0.0
│ └─┬ uglify-js@2.4.24
│ ├── async@0.2.10
│ ├── source-map@0.1.34
│ ├── uglify-to-browserify@1.0.2
│ └─┬ yargs@3.5.4
│ ├── camelcase@1.2.1
│ ├── decamelize@1.1.1
│ ├── window-size@0.1.0
│ └── wordwrap@0.0.2
├─┬ inquirer@0.9.0
│ ├── ansi-regex@2.0.0
│ ├── cli-width@1.1.0
│ ├── figures@1.4.0
│ ├── lodash@3.10.1
│ ├─┬ readline2@0.1.1
│ │ ├── mute-stream@0.0.4
│ │ └─┬ strip-ansi@2.0.1
│ │ └── ansi-regex@1.1.1
│ ├── run-async@0.1.0
│ ├── rx-lite@2.5.2
│ └── through@2.3.8
├─┬ is-my-json-valid@2.12.2
│ ├── generate-function@2.0.0
│ ├─┬ generate-object-property@1.2.0
│ │ └── is-property@1.0.2
│ ├── jsonpointer@2.0.0
│ └── xtend@4.0.0
├─┬ is-resolvable@1.0.0
│ └── tryit@1.0.2
├─┬ js-yaml@3.4.3
│ ├─┬ argparse@1.0.3
│ │ └── sprintf-js@1.0.3
│ └── esprima@2.7.0
├─┬ json-stable-stringify@1.0.0
│ └── jsonify@0.0.0
├─┬ lodash.clonedeep@3.0.2
│ ├─┬ lodash._baseclone@3.3.0
│ │ ├── lodash._baseassign@3.2.0
│ │ └── lodash._basefor@3.0.2
│ └── lodash._bindcallback@3.0.1
├─┬ lodash.merge@3.3.2
│ ├── lodash._arraycopy@3.0.0
│ ├── lodash._arrayeach@3.0.0
│ ├─┬ lodash._createassigner@3.1.1
│ │ └── lodash._isiterateecall@3.0.9
│ ├── lodash._getnative@3.9.1
│ ├── lodash.isarguments@3.0.4
│ ├── lodash.isarray@3.0.4
│ ├── lodash.isplainobject@3.2.0
│ ├── lodash.istypedarray@3.0.2
│ ├── lodash.keys@3.1.2
│ ├── lodash.keysin@3.0.8
│ └─┬ lodash.toplainobject@3.0.0
│ └── lodash._basecopy@3.0.1
├─┬ lodash.omit@3.1.0
│ ├── lodash._arraymap@3.0.0
│ ├─┬ lodash._basedifference@3.0.3
│ │ ├── lodash._baseindexof@3.1.0
│ │ ├── lodash._cacheindexof@3.0.2
│ │ └── lodash._createcache@3.1.2
│ ├── lodash._baseflatten@3.1.4
│ ├── lodash._pickbyarray@3.0.2
│ ├── lodash._pickbycallback@3.0.0
│ └── lodash.restparam@3.6.1
├─┬ minimatch@2.0.10
│ └─┬ brace-expansion@1.1.1
│ ├── balanced-match@0.2.1
│ └── concat-map@0.0.1
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├── object-assign@2.1.1
├─┬ optionator@0.5.0
│ ├── deep-is@0.1.3
│ ├── fast-levenshtein@1.0.7
│ ├── levn@0.2.5
│ ├── prelude-ls@1.1.2
│ ├── type-check@0.3.1
│ └── wordwrap@0.0.3
├── path-is-absolute@1.0.0
├── path-is-inside@1.0.1
├── shelljs@0.3.0
├── strip-json-comments@1.0.4
├── text-table@0.2.0
├─┬ to-double-quotes@1.0.2
│ └── get-stdin@3.0.2
├── to-single-quotes@1.0.4
├── user-home@1.1.1
└── xml-escape@1.0.0
npm WARN ENOENT ENOENT, open '/Users/mourner/projects/test/package.json'
npm WARN EPACKAGEJSON test No description
npm WARN EPACKAGEJSON test No repository field.
npm WARN EPACKAGEJSON test No README data
npm WARN EPACKAGEJSON test No license field.
real 0m30.585s
user 0m9.407s
sys 0m2.208s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment