npm-license-corrections

SPDX license expressions for npm packages without proper metadata

Usage no npm install needed!

<script type="module">
  import npmLicenseCorrections from 'https://cdn.skypack.dev/npm-license-corrections';
</script>

README

SPDX license expressions for npm packages without proper metadata

licensee uses this package, along with correct-license-metadata, to find valid license expressions for npm packages without them.

Schema

This package exports an Array of Objects. Each Object looks like:

{
  "name": "optimist",
  "version": "6.0.1",
  "license": "MIT"
}

license contains a valid SPDX license expression for version of package name.

name may contain a scope, as well as a package name, like @scope/package.

Versioning

When this project ... ... it will increment
corrects an entry patch
adds a new entry minor
breaks schema major