programmatic npm API
Branch: latest
Clone or download
Latest commit 54f5233 Dec 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test initial commit Apr 4, 2018
.gitignore initial commit Apr 4, 2018
.travis.yml test: edit travis config Oct 11, 2018
CHANGELOG.md chore(release): 2.0.1 Dec 5, 2018
LICENSE.md initial commit Apr 4, 2018
README.md feat(bin): add binLinks lib Nov 7, 2018
access.js feat(libnpm): add support for partial requires Nov 13, 2018
adduser.js feat(libnpm): add support for partial requires Nov 13, 2018
appveyor.yml initial commit Apr 4, 2018
config.js feat(libnpm): add support for partial requires Nov 13, 2018
extract.js feat(pacote): minimal requires for pacote-related APIs Nov 26, 2018
fetch.js feat(libnpm): add support for partial requires Nov 13, 2018
get-prefix.js feat(libnpm): add support for partial requires Nov 13, 2018
hook.js feat(libnpm): add support for partial requires Nov 13, 2018
index.js feat(libnpm): add support for partial requires Nov 13, 2018
link-bin.js feat(libnpm): add support for partial requires Nov 13, 2018
log.js feat(libnpm): add support for partial requires Nov 13, 2018
logical-tree.js feat(libnpm): add support for partial requires Nov 13, 2018
login.js feat(libnpm): add support for partial requires Nov 13, 2018
manifest.js feat(pacote): minimal requires for pacote-related APIs Nov 26, 2018
org.js feat(libnpm): add support for partial requires Nov 13, 2018
package-lock.json chore(release): 2.0.1 Dec 5, 2018
package.json chore(release): 2.0.1 Dec 5, 2018
packument.js feat(pacote): minimal requires for pacote-related APIs Nov 26, 2018
parse-arg.js feat(libnpm): add support for partial requires Nov 13, 2018
profile.js
publish.js feat(libnpm): add support for partial requires Nov 13, 2018
read-json.js fix(read-json): use bluebird for promisification Dec 5, 2018
run-script.js feat(libnpm): add support for partial requires Nov 13, 2018
search.js feat(libnpm): add support for partial requires Nov 13, 2018
stringify-package.js feat(libnpm): add support for partial requires Nov 13, 2018
tarball.js feat(pacote): minimal requires for pacote-related APIs Nov 26, 2018
team.js feat(libnpm): add support for partial requires Nov 13, 2018
unpublish.js feat(libnpm): add support for partial requires Nov 13, 2018
verify-lock.js feat(libnpm): add support for partial requires Nov 13, 2018

README.md

libnpm

libnpm is the programmatic API for npm.

For bug reports and support, please head over to npm.community.

Install

$ npm install libnpm

Table of Contents

Example

await libnpm.manifest('libnpm') // => Manifest { name: 'libnpm', ... }

API

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.