var correct = require('spdx-correct')
var assert = require('assert')
assert.equal(correct('mit'), 'MIT')
assert.equal(correct('Apache 2'), 'Apache-2.0')
assert(correct('No idea what license') === null)
forked from jslicense/spdx-correct.js
-
Notifications
You must be signed in to change notification settings - Fork 0
correct invalid SPDX identifiers
License
clearlydefined/spdx-correct.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
correct invalid SPDX identifiers
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- JavaScript 100.0%