Licence
ISC
Version
0.0.2
Deps
1
Size
3 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated
Lerna Packages
Get basic information about all your lerna packages.
Usage
npm i lerna-packages
const lernaPackages = require('lerna-packages');
const allPackages = lernaPackages();
lernaPackages({ options })
Returns an array of objects with the following data structure:
{
name: String,
private: Boolean,
version: String,
registry: String,
path: String
}
Options
rootDirThe directory containing yourlerna.json. Defaults to the directory where you invode the function.additionalKeysAn array of additional keys to pull from the modules package.json. Defaults to[].