Common Public Licenses dictionary for cspell.

Usage no npm install needed!

<script type="module">
  import cspellDictPublicLicenses from 'https://cdn.skypack.dev/@cspell/dict-public-licenses';


Cspell Common Public Licenses Dictionary

Common Public Licenses dictionary for cspell.

This is a pre-built dictionary for use with cspell.


Global Install and add to cspell global settings.

npm install -g @cspell/dict-public-licenses
cspell link add @cspell/dict-public-licenses

Uninstall from cspell

cspell link remove @cspell/dict-public-licenses

Manual Installation

Manual installation is useful if you want to include this dictionary as part of your CI/CD lint process.

npm i @cspell/dict-public-licenses

The cspell-ext.json file in this package should be added to the import section in your cspell.json file.

    // …
    "import": ["@cspell/dict-public-licenses/cspell-ext.json"],
    // …


spdx-license-ids: a list of SPDX license identifiers

Dictionary Development

See: How to Create a New Dictionary



Some packages may have other licenses included.