nonsense-license

Exports All The Popular Licenses With Descriptions, Limitations, Permissions And Conditions

Usage no npm install needed!

<script type="module">
  import nonsenseLicense from 'https://cdn.skypack.dev/nonsense-license';
</script>

README

NONSENSE-LICENSE

Nonsense But Helpful

npm

Exports All The Popular Licenses With Description,Limitations,Permissions And Conditions

Example

{
    "MIT": {
        "title": "MIT License",
        "spdx-id": "MIT",
        "description": "A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.",
        "how": "Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.",
        "permissions": ["commercial-use", "modifications", "distribution", "private-use"],
        "conditions": ["include-copyright"],
        "limitations": ["liability", "warranty"],
        "text": ["", "", "MIT License", "", "Copyright (c) [year] [fullname]", "", "Permission is hereby granted, free of charge, to any person obtaining a copy", "of this software and associated documentation files (the \"Software\"), to deal", "in the Software without restriction, including without limitation the rights", "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell", "copies of the Software, and to permit persons to whom the Software is", "furnished to do so, subject to the following conditions:", "", "The above copyright notice and this permission notice shall be included in all", "copies or substantial portions of the Software.", "", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE", "SOFTWARE."]
    }
}

Licenses

    • 0BSD
    • AFL-3.0
    • AGPL-3.0
    • Apache-2.0
    • Artistic-2.0
    • BSD-2-Clause
    • BSD-3-Clause-Clear
    • BSD-3-Clause
    • BSD-4-Clause
    • BSL-1.0
    • CC-BY-4.0
    • CC-BY-SA-4.0
    • CC0-1.0
    • CECILL-2.1
    • ECL-2.0
    • EPL-1.0
    • EPL-2.0
    • EUPL-1.1
    • EUPL-1.2
    • GPL-2.0
    • GPL-3.0
    • ISC
    • LGPL-2.1
    • LGPL-3.0
    • LPPL-1.3c
    • MIT
    • MPL-2.0
    • MS-PL
    • MS-RL
    • NCSA
    • ODbL-1.0
    • OFL-1.1
    • OSL-3.0
    • PostgreSQL
    • Unlicense
    • UPL-1.0
    • Vim
    • WTFPL
    • Zlib

Install

Simply run npm install nonsense-license And Add const license = require('nonsense-license); To Your Workfile. :)

Warning

  1. Don't Forget To Replace The Place Holders In many Licenses.

  2. Concat Each Entry In the License Text Array With \n. Otherwise It Will Break The Original Format.

Other

To Get All The Licenses In JSON Format, Visit My GitHub Repo :)

My Other Works

  1. autobadge

  2. qikQR

  3. flawfinder-action

  4. autopy-lot

Thanks

  1. Icons made by Those Icons from www.flaticon.com

  2. blob maker