listver

List installed versions of package dependencies

Usage no npm install needed!

<script type="module">
  import listver from 'https://cdn.skypack.dev/listver';
</script>

README

npm version Build status Dependencies

Install

npm install --save listver

Use

var listver = require('listver');
var list = listver({
  includeDev: false // include devDependencies when true
  includeMain: false // include main/parent module when true
  asArray: false // return as an array when true
});

console.dir(list);
/* {
  'list-deps': '0.2.2',
  'load-module-pkg': '0.1.0',
  lodash: '4.0.0'
} */