Skip to content

spdx 0.1.8

Install from the command line:
Learn more about npm packages
$ npm install @clearlydefined/spdx@0.1.8
Install via package.json:
"@clearlydefined/spdx": "0.1.8"

About this version

@clearlydefined/spdx

ClearlyDefined focused SPDX utility library.

This is used by clearlydefined/service

Install

Package is hosted in GitHub packages See here for details on how to use

npm install clearlydefined/spdx
const SPDX = require('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

Release

Details


Assets

  • spdx-0.1.8.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all