2.0.0 • Published 8 years ago
oss-licenses v2.0.0
oss-licenses
A collection of OSS license texts
A collection of OSS license texts taken from
choosealicense.com
but with all header information stripped out of actual license texts and moved to licenses.json
.
Install
npm i --save oss-licenses
Import
// ES2015
import licenses from 'oss-licenses'
// CommonJS
var licenses = require('oss-licenses')
API
The main export is licenses.json
.
get(license)
Get a license text.
- license {String} License name
Licenses
- afl-3.0
- agpl-3.0
- apache-2.0
- artistic-2.0
- bsd-2-clause
- bsd-3-clause-clear
- bsd-3-clause
- cc-by-4.0
- cc-by-sa-4.0
- cc0-1.0
- epl-1.0
- eupl-1.1
- gpl-2.0
- gpl-3.0
- isc
- lgpl-2.1
- lgpl-3.0
- lppl-1.3c
- mit
- mpl-2.0
- ms-pl
- ms-rl
- ofl-1.1
- osl-3.0
- unlicense
- wtfpl
- zlib
Contributing
All pull requests and issues welcome!
If you're not sure how, check out Kent C. Dodds' great video tutorials on egghead.io!
Author & License
oss-licenses
was created by Sam Gluck and is released under the MIT license.