sandhog
Version:
A virtual Open Source project maintainer
28 lines (26 loc) • 505 B
JavaScript
// src/license/license-name.ts
var LICENSE_NAMES = [
"APACHE-2.0",
"BSD-2-CLAUSE",
"BSD-3-CLAUSE",
"CC-BY-4.0",
"CC-BY-SA-4.0",
"EPL-1.0",
"GPL-3.0",
"GPL-2.0",
"AGPL-3.0",
"LGPL-3.0",
"MIT",
"MPL-2.0",
"ARTISTIC-2.0",
"ZLIB"
];
// src/license/is-known-license-name.ts
function isKnownLicenseName(license) {
return LICENSE_NAMES.some((knownLicense) => knownLicense === license);
}
export {
LICENSE_NAMES,
isKnownLicenseName
};
//# sourceMappingURL=chunk-GEXBMSSY.js.map