Skip to main content
The Deno 2 Release Candidate is here
Learn more

F/OSS License Texts as ESM

In short:

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:

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

console.log(text);

This repository in itself is in the public domain.