lsmod

fetch list of modules and versions installed for the project root

MIT 4 个版本
安装
npm install lsmod
yarn add lsmod
pnpm add lsmod
bun add lsmod
README

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
版本列表
1.0.0 2016-05-08
0.0.3 2014-02-12
0.0.2 2013-02-08
0.0.1 2012-12-30