Collection of programmatic APIs for the npm CLI
$ npm install libnpm
libnpm is the programmatic API for npm.
For bug reports and support, please head over to npm.community.
$ npm install libnpm
parseArgconfigreadJSONverifyLockgetPrefixlogicalTreestringifyPackagerunScriptlogfetch (plain ol' client for registry interaction)linkBinawait libnpm.manifest('libnpm') // => Manifest { name: 'libnpm', ... }
This package re-exports the APIs from other packages for convenience. Refer to the table of contents for detailed documentation on each individual exported API.
© 2010 - cnpmjs.org x YWFE | Home | YWFE