Mods/node_modules/spdx-correct
Repository files (latest commit first)
Filename Latest commit message Latest commit date
oitsjustjose 6b60015c02 --
2017-02-26 17:06:42 -05:00
..
index.js -- 2017-02-26 17:06:42 -05:00
LICENSE -- 2017-02-26 17:06:42 -05:00
package.json -- 2017-02-26 17:06:42 -05:00
README.md -- 2017-02-26 17:06:42 -05:00

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)