root 3bf41bf355 update | il y a 1 an | |
---|---|---|
.. | ||
LICENSE | il y a 1 an | |
README.md | il y a 1 an | |
index.js | il y a 1 an | |
package.json | il y a 1 an |
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)