0
0

More than 5 years have passed since last update.

npm listでパッケージの依存関係を非表示にする

Posted at
  • ターミナル上でnpmでインストールしたパッケージを調べるときに普通にコマンド打つと依存関係が全部表示されて見づらい
    • --depth=0をつけることでパッケージの依存関係が非表示なるので見やすく!

オプション付けない場合:長い・・・

$ npm list -g
/Users/hogehoge/.nodebrew/node/v5.0.0/lib
├─┬ gulp@3.9.0
│ ├── archy@1.0.0
│ ├─┬ chalk@1.1.1
│ │ ├── ansi-styles@2.1.0
│ │ ├── escape-string-regexp@1.0.4
│ │ ├─┬ has-ansi@2.0.0
│ │ │ └── ansi-regex@2.0.0
│ │ ├── strip-ansi@3.0.0
│ │ └── supports-color@2.0.0
│ ├── deprecated@0.0.1
│ ├─┬ gulp-util@3.0.7
│ │ ├── array-differ@1.0.0
│ │ ├── array-uniq@1.0.2
│ │ ├── beeper@1.1.0
│ │ ├─┬ dateformat@1.0.12
│ │ │ ├── get-stdin@4.0.1
│ │ │ └─┬ meow@3.7.0
│ │ │   ├─┬ camelcase-keys@2.0.0
│ │ │   │ └── camelcase@2.0.1
│ │ │   ├── decamelize@1.1.2
│ │ │   ├─┬ loud-rejection@1.2.0
│ │ │   │ └── signal-exit@2.1.2
│ │ │   ├── map-obj@1.0.1
│ │ │   ├─┬ normalize-package-data@2.3.5
│ │ │   │ ├── hosted-git-info@2.1.4
│ │ │   │ ├─┬ is-builtin-module@1.0.0
│ │ │   │ │ └── builtin-modules@1.1.1
│ │ │   │ └─┬ validate-npm-package-license@3.0.1
│ │ │   │   ├─┬ spdx-correct@1.0.2
│ │ │   │   │ └── spdx-license-ids@1.2.0
│ │ │   │   └─┬ spdx-expression-parse@1.0.2
│ │ │   │     └── spdx-exceptions@1.0.4
│ │ │   ├── object-assign@4.0.1
│ │ │   ├─┬ read-pkg-up@1.0.1
│ │ │   │ ├─┬ find-up@1.1.0
│ │ │   │ │ ├── path-exists@2.1.0
│ │ │   │ │ └─┬ pinkie-promise@2.0.0
│ │ │   │ │   └── pinkie@2.0.1
│ │ │   │ └─┬ read-pkg@1.1.0
│ │ │   │   ├─┬ load-json-file@1.1.0
│ │ │   │   │ ├── graceful-fs@4.1.2
│ │ │   │   │ ├─┬ parse-json@2.2.0
│ │ │   │   │ │ └─┬ error-ex@1.3.0
│ │ │   │   │ │   └── is-arrayish@0.2.1
│ │ │   │   │ ├── pify@2.3.0
│ │ │   │   │ └── strip-bom@2.0.0
│ │ │   │   └── path-type@1.1.0
│ │ │   ├─┬ redent@1.0.0
│ │ │   │ ├─┬ indent-string@2.1.0
│ │ │   │ │ └─┬ repeating@2.0.0
│ │ │   │ │   └─┬ is-finite@1.0.1
│ │ │   │ │     └── number-is-nan@1.0.0
│ │ │   │ └── strip-indent@1.0.1
│ │ │   └── trim-newlines@1.0.0
│ │ ├── fancy-log@1.1.0
│ │ ├─┬ gulplog@1.0.0
│ │ │ └── glogg@1.0.0
│ │ ├─┬ has-gulplog@0.1.0
│ │ │ └── sparkles@1.0.0
│ │ ├── lodash._reescape@3.0.0
│ │ ├── lodash._reevaluate@3.0.0
│ │ ├── lodash._reinterpolate@3.0.0
│ │ ├─┬ lodash.template@3.6.2
│ │ │ ├── lodash._basecopy@3.0.1
│ │ │ ├── lodash._basetostring@3.0.1
│ │ │ ├── lodash._basevalues@3.0.0
│ │ │ ├── lodash._isiterateecall@3.0.9
│ │ │ ├── lodash.escape@3.1.0
│ │ │ ├─┬ lodash.keys@3.1.2
│ │ │ │ ├── lodash._getnative@3.9.1
│ │ │ │ ├── lodash.isarguments@3.0.5
│ │ │ │ └── lodash.isarray@3.0.4
│ │ │ ├── lodash.restparam@3.6.1
│ │ │ └── lodash.templatesettings@3.1.1
│ │ ├─┬ multipipe@0.1.2
│ │ │ └─┬ duplexer2@0.0.2
│ │ │   └── readable-stream@1.1.13
│ │ ├── object-assign@3.0.0
│ │ ├── replace-ext@0.0.1
│ │ ├─┬ through2@2.0.0
│ │ │ ├─┬ readable-stream@2.0.5
│ │ │ │ ├── core-util-is@1.0.2
│ │ │ │ ├── inherits@2.0.1
│ │ │ │ ├── isarray@0.0.1
│ │ │ │ ├── process-nextick-args@1.0.6
│ │ │ │ ├── string_decoder@0.10.31
│ │ │ │ └── util-deprecate@1.0.2
│ │ │ └── xtend@4.0.1
│ │ └─┬ vinyl@0.5.3
│ │   ├── clone@1.0.2
│ │   └── clone-stats@0.0.1
│ ├── interpret@0.6.6
│ ├─┬ liftoff@2.2.0
│ │ ├── extend@2.0.1
│ │ ├─┬ findup-sync@0.3.0
│ │ │ └─┬ glob@5.0.15
│ │ │   ├── inflight@1.0.4
│ │ │   ├── minimatch@3.0.0
│ │ │   └── path-is-absolute@1.0.0
│ │ ├── flagged-respawn@0.3.1
│ │ ├── rechoir@0.6.2
│ │ └── resolve@1.1.6
│ ├── minimist@1.2.0
│ ├─┬ orchestrator@0.3.7
│ │ ├─┬ end-of-stream@0.1.5
│ │ │ └─┬ once@1.3.3
│ │ │   └── wrappy@1.0.1
│ │ ├── sequencify@0.0.7
│ │ └── stream-consume@0.1.0
│ ├── pretty-hrtime@1.0.1
│ ├── semver@4.3.6
│ ├─┬ tildify@1.1.2
│ │ └── os-homedir@1.0.1
│ ├─┬ v8flags@2.0.11
│ │ └── user-home@1.1.1
│ └─┬ vinyl-fs@0.3.14
│   ├── defaults@1.0.3
│   ├─┬ glob-stream@3.1.18
│   │ ├── glob@4.5.3
│   │ ├─┬ glob2base@0.0.12
│   │ │ └── find-index@0.1.1
│   │ ├─┬ minimatch@2.0.10
│   │ │ └─┬ brace-expansion@1.1.2
│   │ │   ├── balanced-match@0.3.0
│   │ │   └── concat-map@0.0.1
│   │ ├── ordered-read-streams@0.1.0
│   │ ├─┬ through2@0.6.5
│   │ │ └── readable-stream@1.0.33
│   │ └── unique-stream@1.0.0
│   ├─┬ glob-watcher@0.0.6
│   │ └─┬ gaze@0.5.2
│   │   └─┬ globule@0.1.0
│   │     ├─┬ glob@3.1.21
│   │     │ ├── graceful-fs@1.2.3
│   │     │ └── inherits@1.0.2
│   │     ├── lodash@1.0.2
│   │     └─┬ minimatch@0.2.14
│   │       ├── lru-cache@2.7.3
│   │       └── sigmund@1.0.1
│   ├── graceful-fs@3.0.8
│   ├─┬ mkdirp@0.5.1
│   │ └── minimist@0.0.8
│   ├─┬ strip-bom@1.0.0
│   │ ├── first-chunk-stream@1.0.0
│   │ └── is-utf8@0.2.1
│   ├─┬ through2@0.6.5
│   │ └── readable-stream@1.0.33
│   └─┬ vinyl@0.4.6
│     └── clone@0.2.0
├─┬ npm@3.3.6
│ ├── abbrev@1.0.7
│ ├── ansicolors@0.3.2
│ ├── ansistyles@0.1.3
│ ├── aproba@1.0.1
│ ├── archy@1.0.0
│ ├── async-some@1.0.2
│ ├── chownr@1.0.1
│ ├─┬ cmd-shim@2.0.1
│ │ └── graceful-fs@3.0.8
│ ├─┬ columnify@1.5.2
│ │ ├─┬ strip-ansi@3.0.0
│ │ │ └── ansi-regex@2.0.0
│ │ └─┬ wcwidth@1.0.0
│ │   └─┬ defaults@1.0.2
│ │     └── clone@0.1.19
│ ├─┬ config-chain@1.1.9
│ │ └── proto-list@1.2.4
│ ├─┬ dezalgo@1.0.3
│ │ └── asap@2.0.3
│ ├── editor@1.0.0
│ ├── fs-vacuum@1.2.7
│ ├── fs-write-stream-atomic@1.0.4
│ ├── fstream@1.0.8
│ ├─┬ fstream-npm@1.0.5
│ │ └── fstream-ignore@1.0.2
│ ├─┬ glob@5.0.15
│ │ ├─┬ minimatch@2.0.10
│ │ │ └─┬ brace-expansion@1.1.1
│ │ │   ├── balanced-match@0.2.0
│ │ │   └── concat-map@0.0.1
│ │ └── path-is-absolute@1.0.0
│ ├── graceful-fs@4.1.2
│ ├── has-unicode@1.0.0
│ ├── hosted-git-info@2.1.4
│ ├── iferr@0.1.5
│ ├── inflight@1.0.4
│ ├── inherits@2.0.1
│ ├── ini@1.3.4
│ ├─┬ init-package-json@1.9.1
│ │ ├── promzard@0.3.0
│ │ └─┬ validate-npm-package-license@3.0.1
│ │   ├─┬ spdx-correct@1.0.1
│ │   │ └── spdx-license-ids@1.0.2
│ │   └─┬ spdx-expression-parse@1.0.0
│ │     └── spdx-exceptions@1.0.2
│ ├── lockfile@1.0.1
│ ├─┬ lodash.clonedeep@3.0.2
│ │ ├─┬ lodash._baseclone@3.3.0
│ │ │ ├── lodash._arraycopy@3.0.0
│ │ │ ├── lodash._arrayeach@3.0.0
│ │ │ ├─┬ lodash._baseassign@3.2.0
│ │ │ │ └── lodash._basecopy@3.0.1
│ │ │ ├── lodash._basefor@3.0.2
│ │ │ └── lodash.keys@3.1.2
│ │ └── lodash._bindcallback@3.0.1
│ ├─┬ lodash.union@3.1.0
│ │ ├─┬ lodash._baseflatten@3.1.4
│ │ │ └── lodash.isarguments@3.0.4
│ │ ├─┬ lodash._baseuniq@3.0.3
│ │ │ ├── lodash._baseindexof@3.1.0
│ │ │ ├── lodash._cacheindexof@3.0.2
│ │ │ └── lodash._createcache@3.1.2
│ │ └── lodash.restparam@3.6.1
│ ├─┬ lodash.uniq@3.2.2
│ │ ├─┬ lodash._basecallback@3.3.1
│ │ │ ├─┬ lodash._baseisequal@3.0.7
│ │ │ │ └── lodash.istypedarray@3.0.2
│ │ │ └── lodash.pairs@3.0.1
│ │ ├── lodash._getnative@3.9.1
│ │ ├── lodash._isiterateecall@3.0.9
│ │ └── lodash.isarray@3.0.4
│ ├─┬ lodash.without@3.2.1
│ │ └── lodash._basedifference@3.0.3
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├─┬ node-gyp@3.0.3
│ │ ├─┬ glob@4.5.3
│ │ │ └── minimatch@2.0.10
│ │ ├─┬ minimatch@1.0.0
│ │ │ ├── lru-cache@2.6.5
│ │ │ └── sigmund@1.0.1
│ │ ├─┬ path-array@1.0.0
│ │ │ └─┬ array-index@0.1.1
│ │ │   └─┬ debug@2.2.0
│ │ │     └── ms@0.7.1
│ │ ├─┬ request@2.64.0
│ │ │ ├── aws-sign2@0.5.0
│ │ │ ├─┬ bl@1.0.0
│ │ │ │ └── readable-stream@2.0.2
│ │ │ ├── caseless@0.11.0
│ │ │ ├─┬ combined-stream@1.0.5
│ │ │ │ └── delayed-stream@1.0.0
│ │ │ ├── extend@3.0.0
│ │ │ ├── forever-agent@0.6.1
│ │ │ ├─┬ form-data@1.0.0-rc3
│ │ │ │ └── async@1.4.2
│ │ │ ├─┬ har-validator@1.8.0
│ │ │ │ ├── bluebird@2.10.1
│ │ │ │ ├─┬ chalk@1.1.1
│ │ │ │ │ ├── ansi-styles@2.1.0
│ │ │ │ │ ├── escape-string-regexp@1.0.3
│ │ │ │ │ ├── has-ansi@2.0.0
│ │ │ │ │ └── supports-color@2.0.0
│ │ │ │ ├─┬ commander@2.8.1
│ │ │ │ │ └── graceful-readlink@1.0.1
│ │ │ │ └─┬ 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
│ │ │ ├─┬ hawk@3.1.0
│ │ │ │ ├── boom@2.9.0
│ │ │ │ ├── cryptiles@2.0.5
│ │ │ │ ├── hoek@2.16.3
│ │ │ │ └── sntp@1.0.9
│ │ │ ├─┬ http-signature@0.11.0
│ │ │ │ ├── asn1@0.1.11
│ │ │ │ ├── assert-plus@0.1.5
│ │ │ │ └── ctype@0.5.3
│ │ │ ├── isstream@0.1.2
│ │ │ ├── json-stringify-safe@5.0.1
│ │ │ ├─┬ mime-types@2.1.7
│ │ │ │ └── mime-db@1.19.0
│ │ │ ├── node-uuid@1.4.3
│ │ │ ├── oauth-sign@0.8.0
│ │ │ ├── qs@5.1.0
│ │ │ ├── stringstream@0.0.4
│ │ │ ├── tough-cookie@2.0.0
│ │ │ └── tunnel-agent@0.4.1
│ │ └── tar@1.0.3
│ ├── nopt@3.0.4
│ ├── normalize-git-url@3.0.1
│ ├─┬ normalize-package-data@2.3.4
│ │ └─┬ is-builtin-module@1.0.0
│ │   └── builtin-modules@1.1.0
│ ├── npm-cache-filename@1.0.2
│ ├── npm-install-checks@2.0.1
│ ├── npm-package-arg@4.0.2
│ ├─┬ npm-registry-client@7.0.7
│ │ └─┬ concat-stream@1.5.0
│ │   ├── readable-stream@2.0.2
│ │   └── typedarray@0.0.6
│ ├── npm-user-validate@0.1.2
│ ├─┬ npmlog@1.2.1
│ │ ├── ansi@0.3.0
│ │ ├─┬ are-we-there-yet@1.0.4
│ │ │ ├── delegates@0.1.0
│ │ │ └── readable-stream@1.1.13
│ │ └─┬ gauge@1.2.2
│ │   ├─┬ lodash.pad@3.1.1
│ │   │ ├── lodash._basetostring@3.0.1
│ │   │ └─┬ lodash._createpadding@3.6.1
│ │   │   └── lodash.repeat@3.0.1
│ │   ├── lodash.padleft@3.1.1
│ │   └── lodash.padright@3.1.1
│ ├── once@1.3.2
│ ├── opener@1.4.1
│ ├─┬ osenv@0.1.3
│ │ ├── os-homedir@1.0.1
│ │ └── os-tmpdir@1.0.1
│ ├── path-is-inside@1.0.1
│ ├─┬ read@1.0.7
│ │ └── mute-stream@0.0.5
│ ├── read-cmd-shim@1.0.1
│ ├─┬ read-installed@4.0.3
│ │ ├── debuglog@1.0.1
│ │ ├── readdir-scoped-modules@1.0.2
│ │ └── util-extend@1.0.1
│ ├─┬ read-package-json@2.0.1
│ │ └─┬ json-parse-helpfulerror@1.0.3
│ │   └── jju@1.2.1
│ ├── read-package-tree@5.1.2
│ ├── realize-package-specifier@3.0.1
│ ├── retry@0.8.0
│ ├── rimraf@2.4.3
│ ├── semver@5.0.3
│ ├─┬ sha@2.0.1
│ │ └─┬ readable-stream@2.0.2
│ │   ├── core-util-is@1.0.1
│ │   ├── isarray@0.0.1
│ │   ├── process-nextick-args@1.0.3
│ │   ├── string_decoder@0.10.31
│ │   └── util-deprecate@1.0.1
│ ├── slide@1.1.6
│ ├── sorted-object@1.0.0
│ ├─┬ tar@2.2.1
│ │ └── block-stream@0.0.8
│ ├── text-table@0.2.0
│ ├── uid-number@0.0.6
│ ├── umask@1.1.0
│ ├─┬ unique-filename@1.0.0
│ │ └── unique-slug@1.0.0
│ ├── unpipe@1.0.0
│ ├─┬ validate-npm-package-name@2.2.2
│ │ └── builtins@0.0.7
│ ├─┬ which@1.1.2
│ │ └─┬ is-absolute@0.1.7
│ │   └── is-relative@0.1.3
│ ├── wrappy@1.0.1
│ └── write-file-atomic@1.1.3
└─┬ webpack@1.12.12
  ├── async@1.5.2
  ├── clone@1.0.2
  ├─┬ enhanced-resolve@0.9.1
  │ ├── graceful-fs@4.1.2
  │ └── memory-fs@0.2.0
  ├── esprima@2.7.1
  ├── interpret@0.6.6
  ├─┬ loader-utils@0.2.12
  │ ├── big.js@3.1.3
  │ └── json5@0.4.0
  ├─┬ memory-fs@0.3.0
  │ ├─┬ errno@0.1.4
  │ │ └── prr@0.0.0
  │ └─┬ readable-stream@2.0.5
  │   ├── core-util-is@1.0.2
  │   ├── inherits@2.0.1
  │   ├── isarray@0.0.1
  │   ├── process-nextick-args@1.0.6
  │   └── util-deprecate@1.0.2
  ├─┬ mkdirp@0.5.1
  │ └── minimist@0.0.8
  ├─┬ node-libs-browser@0.5.3
  │ ├── assert@1.3.0
  │ ├─┬ browserify-zlib@0.1.4
  │ │ └── pako@0.2.8
  │ ├─┬ buffer@3.6.0
  │ │ ├── base64-js@0.0.8
  │ │ ├── ieee754@1.1.6
  │ │ └── isarray@1.0.0
  │ ├─┬ console-browserify@1.1.0
  │ │ └── date-now@0.1.4
  │ ├── constants-browserify@0.0.1
  │ ├─┬ crypto-browserify@3.2.8
  │ │ ├── pbkdf2-compat@2.0.1
  │ │ ├── ripemd160@0.2.0
  │ │ └── sha.js@2.2.6
  │ ├── domain-browser@1.1.7
  │ ├── events@1.1.0
  │ ├─┬ http-browserify@1.7.0
  │ │ └── Base64@0.2.1
  │ ├── https-browserify@0.0.0
  │ ├── os-browserify@0.1.2
  │ ├── path-browserify@0.0.0
  │ ├── process@0.11.2
  │ ├── punycode@1.4.0
  │ ├── querystring-es3@0.2.1
  │ ├── readable-stream@1.1.13
  │ ├─┬ stream-browserify@1.0.0
  │ │ └── readable-stream@1.1.13
  │ ├── string_decoder@0.10.31
  │ ├── timers-browserify@1.4.2
  │ ├── tty-browserify@0.0.0
  │ ├─┬ url@0.10.3
  │ │ ├── punycode@1.3.2
  │ │ └── querystring@0.2.0
  │ ├── util@0.10.3
  │ └─┬ vm-browserify@0.0.4
  │   └── indexof@0.0.1
  ├─┬ optimist@0.6.1
  │ └── wordwrap@0.0.3
  ├─┬ supports-color@3.1.2
  │ └── has-flag@1.0.0
  ├── tapable@0.1.10
  ├─┬ uglify-js@2.6.1
  │ ├── async@0.2.10
  │ ├── source-map@0.5.3
  │ ├── uglify-to-browserify@1.0.2
  │ └─┬ yargs@3.10.0
  │   ├── camelcase@1.2.1
  │   ├─┬ cliui@2.1.0
  │   │ ├─┬ center-align@0.1.2
  │   │ │ ├─┬ align-text@0.1.3
  │   │ │ │ ├── kind-of@2.0.1
  │   │ │ │ ├── longest@1.0.1
  │   │ │ │ └── repeat-string@1.5.2
  │   │ │ └── lazy-cache@0.2.7
  │   │ ├── right-align@0.1.3
  │   │ └── wordwrap@0.0.2
  │   ├─┬ decamelize@1.1.2
  │   │ └── escape-string-regexp@1.0.4
  │   └── window-size@0.1.0
  ├─┬ watchpack@0.2.9
  │ ├── async@0.9.2
  │ └─┬ chokidar@1.4.2
  │   ├─┬ anymatch@1.3.0
  │   │ ├── arrify@1.0.1
  │   │ └─┬ micromatch@2.3.7
  │   │   ├─┬ arr-diff@2.0.0
  │   │   │ └── arr-flatten@1.0.1
  │   │   ├── array-unique@0.2.1
  │   │   ├─┬ braces@1.8.3
  │   │   │ ├─┬ expand-range@1.8.1
  │   │   │ │ └─┬ fill-range@2.2.3
  │   │   │ │   ├─┬ is-number@2.1.0
  │   │   │ │   │ └── kind-of@3.0.2
  │   │   │ │   ├── isobject@2.0.0
  │   │   │ │   └─┬ randomatic@1.1.5
  │   │   │ │     └── kind-of@3.0.2
  │   │   │ ├── preserve@0.2.0
  │   │   │ └── repeat-element@1.1.2
  │   │   ├── expand-brackets@0.1.4
  │   │   ├── extglob@0.3.2
  │   │   ├── filename-regex@2.0.0
  │   │   ├─┬ kind-of@3.0.2
  │   │   │ └── is-buffer@1.1.1
  │   │   ├── normalize-path@2.0.1
  │   │   ├─┬ object.omit@2.0.0
  │   │   │ ├─┬ for-own@0.1.3
  │   │   │ │ └── for-in@0.1.4
  │   │   │ └── is-extendable@0.1.1
  │   │   ├─┬ parse-glob@3.0.4
  │   │   │ ├── glob-base@0.3.0
  │   │   │ └── is-dotfile@1.0.2
  │   │   └─┬ regex-cache@0.4.2
  │   │     ├── is-equal-shallow@0.1.3
  │   │     └── is-primitive@2.0.0
  │   ├── async-each@0.1.6
  │   ├─┬ fsevents@1.0.6
  │   │ ├── nan@2.2.0
  │   │ └─┬ node-pre-gyp@0.6.17
  │   │   ├─┬ mkdirp@0.5.1
  │   │   │ └── minimist@0.0.8
  │   │   ├─┬ nopt@3.0.6
  │   │   │ └── abbrev@1.0.7
  │   │   ├─┬ npmlog@2.0.0
  │   │   │ ├── ansi@0.3.0
  │   │   │ ├─┬ are-we-there-yet@1.0.4
  │   │   │ │ ├── delegates@0.1.0
  │   │   │ │ └─┬ readable-stream@1.1.13
  │   │   │ │   ├── core-util-is@1.0.2
  │   │   │ │   ├── isarray@0.0.1
  │   │   │ │   └── string_decoder@0.10.31
  │   │   │ └─┬ gauge@1.2.2
  │   │   │   ├── has-unicode@1.0.1
  │   │   │   ├─┬ lodash.pad@3.1.1
  │   │   │   │ ├── lodash._basetostring@3.0.1
  │   │   │   │ └─┬ lodash._createpadding@3.6.1
  │   │   │   │   └── lodash.repeat@3.0.1
  │   │   │   ├── lodash.padleft@3.1.1
  │   │   │   └── lodash.padright@3.1.1
  │   │   ├─┬ rc@1.1.5
  │   │   │ ├── deep-extend@0.4.0
  │   │   │ ├── ini@1.3.4
  │   │   │ ├── minimist@1.2.0
  │   │   │ └── strip-json-comments@1.0.4
  │   │   ├─┬ request@2.67.0
  │   │   │ ├── aws-sign2@0.6.0
  │   │   │ ├─┬ bl@1.0.0
  │   │   │ │ └─┬ readable-stream@2.0.4
  │   │   │ │   ├── core-util-is@1.0.2
  │   │   │ │   ├── inherits@2.0.1
  │   │   │ │   ├── isarray@0.0.1
  │   │   │ │   ├── process-nextick-args@1.0.3
  │   │   │ │   ├── string_decoder@0.10.31
  │   │   │ │   └── util-deprecate@1.0.2
  │   │   │ ├── caseless@0.11.0
  │   │   │ ├─┬ combined-stream@1.0.5
  │   │   │ │ └── delayed-stream@1.0.0
  │   │   │ ├── extend@3.0.0
  │   │   │ ├── forever-agent@0.6.1
  │   │   │ ├─┬ form-data@1.0.0-rc3
  │   │   │ │ └── async@1.5.0
  │   │   │ ├─┬ har-validator@2.0.3
  │   │   │ │ ├─┬ chalk@1.1.1
  │   │   │ │ │ ├── ansi-styles@2.1.0
  │   │   │ │ │ ├── escape-string-regexp@1.0.3
  │   │   │ │ │ ├─┬ has-ansi@2.0.0
  │   │   │ │ │ │ └── ansi-regex@2.0.0
  │   │   │ │ │ ├── strip-ansi@3.0.0
  │   │   │ │ │ └── supports-color@2.0.0
  │   │   │ │ ├─┬ commander@2.9.0
  │   │   │ │ │ └── graceful-readlink@1.0.1
  │   │   │ │ ├─┬ is-my-json-valid@2.12.3
  │   │   │ │ │ ├── generate-function@2.0.0
  │   │   │ │ │ ├─┬ generate-object-property@1.2.0
  │   │   │ │ │ │ └── is-property@1.0.2
  │   │   │ │ │ ├── jsonpointer@2.0.0
  │   │   │ │ │ └── xtend@4.0.1
  │   │   │ │ └─┬ pinkie-promise@2.0.0
  │   │   │ │   └── pinkie@2.0.1
  │   │   │ ├─┬ hawk@3.1.2
  │   │   │ │ ├── boom@2.10.1
  │   │   │ │ ├── cryptiles@2.0.5
  │   │   │ │ ├── hoek@2.16.3
  │   │   │ │ └── sntp@1.0.9
  │   │   │ ├─┬ http-signature@1.1.0
  │   │   │ │ ├── assert-plus@0.1.5
  │   │   │ │ ├─┬ jsprim@1.2.2
  │   │   │ │ │ ├── extsprintf@1.0.2
  │   │   │ │ │ ├── json-schema@0.2.2
  │   │   │ │ │ └── verror@1.3.6
  │   │   │ │ └─┬ sshpk@1.7.0
  │   │   │ │   ├── asn1@0.2.3
  │   │   │ │   ├── assert-plus@0.2.0
  │   │   │ │   ├── dashdash@1.10.1
  │   │   │ │   ├── ecc-jsbn@0.1.1
  │   │   │ │   ├── jodid25519@1.0.2
  │   │   │ │   ├── jsbn@0.1.0
  │   │   │ │   └── tweetnacl@0.13.2
  │   │   │ ├── is-typedarray@1.0.0
  │   │   │ ├── isstream@0.1.2
  │   │   │ ├── json-stringify-safe@5.0.1
  │   │   │ ├─┬ mime-types@2.1.7
  │   │   │ │ └── mime-db@1.19.0
  │   │   │ ├── node-uuid@1.4.7
  │   │   │ ├── oauth-sign@0.8.0
  │   │   │ ├── qs@5.2.0
  │   │   │ ├── stringstream@0.0.5
  │   │   │ ├── tough-cookie@2.2.1
  │   │   │ └── tunnel-agent@0.4.1
  │   │   ├─┬ rimraf@2.4.4
  │   │   │ └─┬ glob@5.0.15
  │   │   │   ├─┬ inflight@1.0.4
  │   │   │   │ └── wrappy@1.0.1
  │   │   │   ├── inherits@2.0.1
  │   │   │   ├─┬ minimatch@3.0.0
  │   │   │   │ └─┬ brace-expansion@1.1.1
  │   │   │   │   ├── balanced-match@0.2.1
  │   │   │   │   └── concat-map@0.0.1
  │   │   │   ├─┬ once@1.3.3
  │   │   │   │ └── wrappy@1.0.1
  │   │   │   └── path-is-absolute@1.0.0
  │   │   ├── semver@5.1.0
  │   │   ├─┬ tar@2.2.1
  │   │   │ ├── block-stream@0.0.8
  │   │   │ ├── fstream@1.0.8
  │   │   │ └── inherits@2.0.1
  │   │   └─┬ tar-pack@3.1.0
  │   │     ├── debug@0.7.4
  │   │     ├─┬ fstream-ignore@1.0.3
  │   │     │ └─┬ minimatch@3.0.0
  │   │     │   └─┬ brace-expansion@1.1.1
  │   │     │     ├── balanced-match@0.2.1
  │   │     │     └── concat-map@0.0.1
  │   │     ├── graceful-fs@4.1.2
  │   │     ├── once@1.1.1
  │   │     ├─┬ readable-stream@1.0.33
  │   │     │ ├── core-util-is@1.0.2
  │   │     │ ├── inherits@2.0.1
  │   │     │ ├── isarray@0.0.1
  │   │     │ └── string_decoder@0.10.31
  │   │     ├── rimraf@2.2.8
  │   │     └── uid-number@0.0.3
  │   ├── glob-parent@2.0.0
  │   ├─┬ is-binary-path@1.0.1
  │   │ └── binary-extensions@1.4.0
  │   ├─┬ is-glob@2.0.1
  │   │ └── is-extglob@1.0.0
  │   ├── path-is-absolute@1.0.0
  │   └─┬ readdirp@2.0.0
  │     └─┬ minimatch@2.0.10
  │       └─┬ brace-expansion@1.1.2
  │         ├── balanced-match@0.3.0
  │         └── concat-map@0.0.1
  └─┬ webpack-core@0.6.8
    ├── source-list-map@0.1.5
    └─┬ source-map@0.4.4
      └── amdefine@1.0.0

オプション付けた場合:見やすい!

$ npm list -g --depth=0
/Users/hogehoge/.nodebrew/node/v5.0.0/lib
├── gulp@3.9.0
├── npm@3.3.6
└── webpack@1.12.12

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0