kevin tessier 9312edc3ae modif comtabilite | 5 years ago | |
---|---|---|
.. | ||
LICENSE | 5 years ago | |
README.md | 5 years ago | |
index.js | 5 years ago | |
package.json | 5 years ago |
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)