oss-license-name-to-url
v1.2.1
Published
Convert shorthand OSS license names to opensource.org URLs
Downloads
5,904
Readme
oss-license-name-to-url
Convert shorthand OSS license names to opensource.org URLs
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install oss-license-name-to-url --save
Usage
var url = require("oss-license-name-to-url")
url("apache 2") // http://opensource.org/licenses/Apache-2.0
url("apache-2") // http://opensource.org/licenses/Apache-2.0
url("bsd") // http://opensource.org/licenses/BSD-2-Clause
url("x11") // http://opensource.org/licenses/MIT
url("X11") // http://opensource.org/licenses/MIT
url("WTFPLv2") // http://www.wtfpl.net/about/
Tests
npm install
npm test
Dependencies
- osi-licenses: id-name pairs of OSI-approved licenses
Dev Dependencies
License
MIT