choosealicense

0.2.1 • Public • Published

Choose a License

NPM package Travis Build

CLI tool to choose a license for your project. It's based on Choose a License website created by GitHub. It'll download the license file directly from their website.

Installation

npm install -g choosealicense

Usage

To list available licenses, just run it without any argument:

choosealicense

To get text from a desired license, pass its SPDX id as an argument:

choosealicense mit

The license text will be output to stdout, so you can do whatever that fits your needs.

To save the license text to a file:

choosealicense mit > LICENSE

License

MIT.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i choosealicense

    Weekly Downloads

    2

    Version

    0.2.1

    License

    MIT

    Last publish

    Collaborators

    • fmoliveira