Find Node Module Version Number
Posted:
Tuesday, April 21st, 2015Last modified:
Tuesday, April 21st, 2015How to find all local node module versions with list
npm list
/home/sweet/home/some/project ├─┬ less@2.5.0 │ ├─┬ errno@0.1.2 │ │ └── prr@0.0.0 │ ├── graceful-fs@3.0.6 │ ├── image-size@0.3.5 │ ├── mime@1.3.4 │ ├─┬ mkdirp@0.5.0 │ │ └── minimist@0.0.8 │ ├─┬ promise@6.1.0 │ │ └── asap@1.0.0 │ ├─┬ request@2.55.0 │ │ ├── aws-sign2@0.5.0 │ │ ├─┬ bl@0.9.4 │ │ │ └─┬ readable-stream@1.0.33 │ │ │ ├── core-util-is@1.0.1 │ │ │ ├── inherits@2.0.1 │ │ │ ├── isarray@0.0.1 │ │ │ └── string_decoder@0.10.31 │ │ ├── caseless@0.9.0 ...and so on and so forth....
List all modules installed globally
npm list -g
/usr/lib └─┬ npm@1.4.28 ├── abbrev@1.0.5 ├── ansi@0.3.0 ├── ansicolors@0.3.2 ... and so and so forth....
Find a specific module version number
npm list asap
/home/sweet/home/some/project └─┬ less@2.5.0us └─┬ promise@6.1.0 └── asap@1.0.0
Available Wiki Topics
The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.