license-info-js
is a JavaScript library that allows JavaScript applications to quickly know
what a license allows.
Many contents are under a certain license. The license certifications are stated as natural language and are not machine readable. It is hard for applications to know what a content allows and disallows.
For example it can be a problem in this scenario: If a 3D asset file that is under a license that doesn't allow remix work is uploaded to a JavaScript 3D editor the editor shows the 3D asset but should refuse to edit it.
license-info-js
resolves the problem by providing machine readable info from a license name
or a license certificate URL.
import licenseInfo from 'path_to_lib/license-info.js';
const info = licenseInfo.getByCertificateURL(licenseCertificateURL);
if (info.remix) {
edit();
}
attributionRequired
:remix
:commersialUse
:freeCulturalWorks
:redistribution
:
Name | Attribution required | Remix culture | Commersial use | Free cultural works | redistribution |
---|---|---|---|---|---|
CC0 | No π | Yes π | Yes π | Yes π | |
CC BY | Yes β | Yes π | Yes π | Yes π | |
CC BY-SA | Yes β | Yes π | Yes π | Yes π | |
CC BY-NC | Yes β | Yes π | No β | No β | |
CC BY-NC-SA | Yes β | Yes π | No β | No β | |
CC BY-ND | Yes β | No β | Yes π | No β | |
CC BY-NC-ND | Yes β | No β | No β | No β |
Name | Attribution required | Remix culture | Commersial use | Free cultural works | redistribution |
---|---|---|---|---|---|
Sketchfab Standard | |||||
Sketchfab Editorial | |||||
Turbo Squid 3D Model license | |||||
UVL | |||||
VN3 |