Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
get a list of modules and versions for the main prog
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
.travis.yml
README.md
index.js
package.json
test.js

README.md

lsmod Build Status

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

use

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
Something went wrong with that request. Please try again.