Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including license with all npm packages installed. Try it out:

var license = require("license")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

license v0.0.3

A tool to generate common FOSS LICENSE files


####TODO: much better docs

###a port / rip-off of lice by jcarbaugh, largely done as a (node/javascript) learning exercise.

npm module to generate common FOSS licenses with a cli

Usage: license [-h]
license [-l]
license [ -o [OWNER] -p [PROJECT] -y [YEAR] ] [license]
license [--config[.key <VALUE>]]
license [--header]

  -h, --help          show this help menu                                                                                     
  -l, --list          list all available license templates                                                                    
  -o, --organization  the organisation/owner that holds the copy[right,left]    [default: git || env.USER]
  -p, --project       the name of the project                                   [default: current directory]
  -y, --year          copyright year                                            [default: current year]
  --config            set default values: usage --config.key value
 available:[year], [project], [licenseType], [organisation]
  --header            just get the license header                                                                             


npm install license


Is Very welcome. Thanks :)


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free