Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 355B

1234567891011121314
  1. ```javascript
  2. var correct = require('spdx-correct')
  3. var assert = require('assert')
  4. assert.equal(correct('mit'), 'MIT')
  5. assert.equal(correct('Apache 2'), 'Apache-2.0')
  6. assert(correct('No idea what license') === null)
  7. // disable upgrade option
  8. assert(correct('GPL-3.0'), 'GPL-3.0-or-later')
  9. assert(correct('GPL-3.0', { upgrade: false }), 'GPL-3.0')
  10. ```