fetch list of modules and versions installed for the project root

npm install lsmod
82 downloads in the last day
1 143 downloads in the last week
6 469 downloads in the last month

lsmod Build Status

lsmod fetches the list of modules and the versions loaded by the entry file for your node.js app.


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.

install via npm

npm install lsmod
npm loves you