| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- 'use strict';
- const freeLicense = {
- attribution: false,
- commercial: true
- };
- const freeSameLicense = {
- attribution: false,
- commercial: true,
- sameLicense: true
- };
- const attribLicense = {
- attribution: true,
- commercial: true
- };
- const attribSameLicense = {
- attribution: true,
- commercial: true,
- sameLicense: true
- };
- const attribNonCommercialLicense = {
- attribution: true,
- commercial: false
- };
- const attribNonCommercialSameLicense = {
- attribution: true,
- commercial: false,
- sameLicense: true
- };
- const licensesData = {
- "Apache-2.0": freeLicense,
- "MIT": freeLicense,
- "MPL-2.0": freeLicense,
- "CC0-1.0": freeLicense,
- "CC-BY-3.0": attribLicense,
- "CC-BY-SA-3.0": attribSameLicense,
- "CC-BY-4.0": attribLicense,
- "CC-BY-SA-4.0": attribSameLicense,
- "CC-BY-NC-4.0": attribNonCommercialLicense,
- "CC-BY-NC-SA-4.0": attribNonCommercialSameLicense,
- "ISC": freeLicense,
- "OFL-1.1": freeLicense,
- "GPL-2.0-only": freeSameLicense,
- "GPL-2.0-or-later": freeSameLicense,
- "GPL-3.0": freeSameLicense,
- "GPL-3.0-or-later": freeSameLicense,
- "Unlicense": freeLicense,
- "BSD-2-Clause": freeLicense,
- "BSD-3-Clause": freeLicense
- };
- exports.licensesData = licensesData;
|