Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | 6 years ago | |
---|---|---|
.. | ||
LICENSE | 6 years ago | |
README.md | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 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)