https://github.com/spurreiter/spdx-license-info
Information on SPDX license terms.
https://github.com/spurreiter/spdx-license-info
Last synced: 3 months ago
JSON representation
Information on SPDX license terms.
- Host: GitHub
- URL: https://github.com/spurreiter/spdx-license-info
- Owner: spurreiter
- License: unlicense
- Created: 2022-09-09T15:35:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-29T06:08:57.000Z (over 1 year ago)
- Last Synced: 2025-02-07T22:05:07.432Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.26 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spdx-license-info
> Information on [SPDX license](https://spdx.org/licenses/) terms.
Uses [SPDX License List][] version 3.21 - 2023-06-18
## install
```
npm install spdx-license-info
```## usage
```js
import { licenseIds } from 'spdx-license-info'console.log(licenseIds.Unlicense)
//> {
//> spdx: 'Unlicense',
//> name: 'The Unlicense',
//> attribution: false,
//> linking: 'publicDomain',
//> distribution: 'publicDomain',
//> modification: 'publicDomain',
//> sublicensing: 'publicDomain',
//> patentGrant: false,
//> privateUse: true,
//> trademarkGrant: false,
//> magnetUri: 'magnet:?xt=urn:btih:5ac446d35272cc2e4e85e4325b146d0b7ca8f50c&dn=unlicense.txt',
//> isOsiApproved: true,
//> url: 'https://unlicense.org/'
//> }
```see [`types.d.ts`](./types.d.ts) for attribute definitions.
## contributing
The project is in its infancy. Not for all licenses the full license info and its
(desired) attributes are available.Please edit `data/licenseInfo.js` after reading the license under the provided url
and attribute the license info.The final file is generated with `npm run build`.
Pull-Requests are welcome.## license
[The Unlicense](https://unlicense.org)
[SPDX License List]: https://github.com/spdx/license-list-XML