oss-license-name-to-url

Convert shorthand OSS license names to opensource.org URLs


Keywords
oss, license, gpl, mit, wtfpl, isc
License
MIT
Install
npm install oss-license-name-to-url@1.2.1

Documentation

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

Dev Dependencies

  • standard: JavaScript Standard Style
  • tap: A Test-Anything-Protocol library

License

MIT