motion
Version:
motion - moving development forward
27 lines (18 loc) • 620 B
Markdown
and the versions loaded by the entry file for your node.js app.
```javascript
var lsmod = require('lsmod');
// get an object with module version information
var modules = lsmod();
// modules is an object `key:version`
{
express: '3.0.5',
hbs: '2.0.1'
}
```
Note that the version is the actual installed version and not the dependency version string.
```
npm install lsmod
```
lsmod fetches the list of modules