Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dahlia/foss-license-texts-esm

F/OSS License Texts as ESM
https://github.com/dahlia/foss-license-texts-esm

deno esm esmodules foss-licenses javascript

Last synced: 2 days ago
JSON representation

F/OSS License Texts as ESM

Awesome Lists containing this project

README

        

F/OSS License Texts as ESM
==========================

In short:

~~~~ javascript
import licenses from "https://deno.land/x/foss_license_texts_esm/mod.mjs";

console.log(licenses["GPL-3.0-only"]);
~~~~

Or you can import a module for only a single license text:

~~~~ javascript
import text
from "https://deno.land/x/foss_license_texts_esm/licenses/GPL-3.0-only.mjs";

console.log(text);
~~~~

This repository in itself is in the [public domain].

[public domain]: https://en.wikipedia.org/wiki/Public_domain