Skip to content

WebYourMind/spdx

 
 

Repository files navigation

@clearlydefined/spdx

ClearlyDefined focused SPDX utility library.

Install

npm install @clearlydefined/spdx
const SPDX = require('@clearlydefined/spdx')

SPDX.parse('MIT')
SPDX.stringify({ license: 'MIT' })
SPDX.satisfies('MIT', 'MIT OR Apache-2.0')
SPDX.merge('MIT', 'Apache-2.0', 'AND')
SPDX.expand('MIT or Apache-2.0')
SPDX.normalize('mit')
SPDX.lookupByName('Apache License 2.0')

Local development

git clone https://github.com/clearlydefined/spdx
cd spdx
npm i
npm test

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%