![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | LICENSE | 2023-06-08 13:46 | 11K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | README.md | 2023-06-08 13:46 | 355 | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | index.js | 2023-06-08 13:46 | 9.4K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | package.json | 2023-06-08 13:46 | 2.2K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
```javascript 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) // disable upgrade option assert(correct('GPL-3.0'), 'GPL-3.0-or-later') assert(correct('GPL-3.0', { upgrade: false }), 'GPL-3.0') ```