discord-baymax-bot/node_modules/spdx-correct
2017-03-23 23:52:08 -05:00
..
index.js Pushing changes 2017-03-23 23:52:08 -05:00
LICENSE Pushing changes 2017-03-23 23:52:08 -05:00
package.json Pushing changes 2017-03-23 23:52:08 -05:00
README.md Pushing changes 2017-03-23 23:52:08 -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)