libnpm

Collection of programmatic APIs for the npm CLI

Usage no npm install needed!

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

README

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.