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

@captainsafia/legit

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@captainsafia/legit

Automatically add a license to a GitHub project

  • 3.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

legit

legit is a command line application that allows you to automagically generate a LICENSE file for the current working directory that you are in or a license header for a file where applicable.

Installation

npm install --global @captainsafia/legit

Usage

  Usage: legit [options] [command]


  Commands:

    list|l                     List all available licenses
    put|p [options] <license>  Put a license in this directory

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

  Usage: put|p [options] <license>

  Put a license in this directory

  Options:

    -h, --help        output usage information
    -f --file <file>  The file to add a header to
    -u --user [user]  The user/organization who holds the license
    -y --year [year]  The year the license is in effect

Legit Demo

Currently Supported Licenses

  • BSD 2-clause Simplified License (bsd-2-clause)
  • GNU General Public License v2.0 (gpl-2.0)
  • BSD 3-clause New or Revised License (bsd-3-clause)
  • The Unlicense (unlicense)
  • GNU Lesser General Public License v2.1 (lgpl-2.0)
  • GNU General Public License v3.0 (gpl-3.0)
  • MIT License (mit)
  • GNU Affero General Public License v3.0 (agpl-3.0)
  • Eclipse Public License 1.0 (epl-1.0)
  • Apache License 2.0 (apache-2.0)
  • Mozilla Public License 2.0 (mpl-2.0)
  • GNU Lesser General Public License v3.0 (lgpl-3.0)

Keywords

FAQs

Package last updated on 11 Oct 2018

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