site_marriage/node_modules/spdx-correct
2019-10-20 20:15:52 +02:00
..
index.js migration titane -> nickel 2019-10-20 20:15:52 +02:00
LICENSE migration titane -> nickel 2019-10-20 20:15:52 +02:00
package.json migration titane -> nickel 2019-10-20 20:15:52 +02:00
README.md migration titane -> nickel 2019-10-20 20:15:52 +02: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)