jslicense
Software licensing tools for the npm ecosystem.
Search npmjs.com for “jslicense”.
SPDX Expressions
var parse = require('spdx-expression-parse')
parse('(MIT OR GPL-2.0+)')
Licensing Your Work
npm install --global licensor
mkdir your-new-package
cd your-new-package
npm init
licensor
Checking Others’ Licenses
npm install --global licensee
cd your-package
licensee --init
licensee
“Official” License Texts
Texts can be require()
’d as npm packages.
License Text JSON Templates
Templates conform to a schema.
- jslicense-isc
- jslicense-0bsd
- jslicense-mit
- jslicense-wtfpl
- jslicense-gpl-3.0
- jslicense-bsd-2-clause
- jslicense-bsd-3-clause
- jslicense-apache-2.0
Source &c.
On GitHub