Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

npm/oss-license-name-to-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published