VibeHunt
Back to browse

legit

Generate Open Source licences as files or file headers.

Source

legit is a command‑line tool that creates Open Source license files or inserts license headers into source files. It operates in the current working directory, generating a LICENSE file based on the selected license, or it can prepend a header to a specified file when invoked with the appropriate option.

The application supports a range of common licenses, including BSD (2‑ and 3‑clause), MIT, Apache 2.0, GPL (v2, v3), LGPL (v2.1, v3), AGPL v3, EPL 1.0, MPL 2.0, ISC, and The Unlicense. Users can customize the output by providing a user or organization name and the applicable year, and they can list all available licenses via a simple command.

legit is distributed as an npm package and can be installed globally. It is marked as stable and offers a straightforward CLI with help and version flags, making it suitable for developers who need to add licensing information quickly and consistently across projects.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps