Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

license-generator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

license-generator

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

OSS License Generator

Generate an open source license for your projects.

Installation

gem install license-generator

Usage:

licgen <license> [<author1>, [<author2> ...]]

Too see the available license templates:

licgen list

Available licenses

They are provided in the gem as templates.

Please add some!

There are a lot. See http://www.opensource.org/licenses/alphabetical.

Simply fork, add an ERB template to the templates directory, and send me a pull request.

Since it's ERB you can use ruby to include things like the current date. You can also prompt the user for input like this:

<%= option(:name) %>

Since author name will be needed for almost all templates, a special template variable is provided:

<%= authors %>

If authors are not specified on the command line, it will prompt the user.

Credits

  • Bill Evans (@thirteenpixels) for help naming the binary and pushing to make it not hard to add templates.
  • Dayton Nolan (@daytonn) for fixes and new templates.
  • Leszek Rybicki (@leszekr) for new templates.
  • James Pearson (@xiongchiamiov) for authors feature and new templates.

FAQs

Package last updated on 02 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc