@createiq/backend-licenses 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.ts ADDED
@@ -0,0 +1,36 @@
1
+ import { type Info } from 'spdx-expression-parse'
2
+ import ossLicenses from './oss-licenses.json'
3
+
4
+ export type LicenseInformation = {
5
+ /**
6
+ * The fully qualified name of the package
7
+ */
8
+ name: string
9
+
10
+ /**
11
+ * The declared author of the package, if known
12
+ */
13
+ author?: string
14
+
15
+ /**
16
+ * The website of the package, if known
17
+ */
18
+ website?: string
19
+
20
+ /**
21
+ * The SPDX license information for the package
22
+ */
23
+ licenses?: Info
24
+
25
+ /**
26
+ * The license text of the package
27
+ */
28
+ licenseText?: string
29
+
30
+ /**
31
+ * Any additional notice text for the package
32
+ */
33
+ noticeText?: string
34
+ }
35
+
36
+ export default (ossLicenses as readonly LicenseInformation[])