License database from https://spdx.org/licenses
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
generate.py
index.py
licenses.json
nodepy-package.toml

README.md

spdx-licenses

This module exports the license information from https://spdx.org/licenses/.

import licenses from 'spdx-licenses'
for lic in licenses:
  print(lic['name'])

Development

Install the development dependencies via nodepy-pm install. Then run the following to update the licenses.json file.

$ nodepy generate > licenses.json