ciiu-arl 1.0.2 → 1.0.4
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/README.md +1 -12
- package/index.d.ts +5 -0
- package/index.js +2 -0
- package/package.json +7 -8
- package/risk-classification.json +0 -6626
- package/types.ts +0 -6
package/README.md
CHANGED
|
@@ -13,20 +13,9 @@ npm install ciiu-arl
|
|
|
13
13
|
### Import the JSON data
|
|
14
14
|
|
|
15
15
|
```js
|
|
16
|
-
import riskClassification from "ciiu-arl
|
|
16
|
+
import {riskClassification, type RiskClassification} from "ciiu-arl";
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
### Import the TypeScript types
|
|
20
|
-
|
|
21
|
-
```ts
|
|
22
|
-
import type { RiskClassification } from "ciiu-arl/types";
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Files exported
|
|
26
|
-
|
|
27
|
-
- `risk-classification.json`: The risk classification dataset
|
|
28
|
-
- `types.ts`: TypeScript types for the dataset
|
|
29
|
-
|
|
30
19
|
## License
|
|
31
20
|
|
|
32
21
|
ISC
|
package/index.d.ts
ADDED
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ciiu-arl",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Exports risk-classification.json as a package.",
|
|
5
|
-
"main": "risk-classification.json",
|
|
6
5
|
"scripts": {
|
|
7
6
|
"build": "node risk-classification.ts"
|
|
8
7
|
},
|
|
9
8
|
"files": [
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"index.js",
|
|
10
|
+
"index.d.ts"
|
|
12
11
|
],
|
|
12
|
+
"types": "index.d.ts",
|
|
13
|
+
"main": "index.js",
|
|
13
14
|
"keywords": [
|
|
14
15
|
"ciiu",
|
|
15
16
|
"arl",
|
|
@@ -17,11 +18,9 @@
|
|
|
17
18
|
],
|
|
18
19
|
"author": "",
|
|
19
20
|
"license": "ISC",
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"cheerio": "^1.1.2"
|
|
22
|
-
},
|
|
23
21
|
"devDependencies": {
|
|
24
|
-
"@types/node": "^25.0.3"
|
|
22
|
+
"@types/node": "^25.0.3",
|
|
23
|
+
"cheerio": "^1.1.2"
|
|
25
24
|
},
|
|
26
25
|
"repository": {
|
|
27
26
|
"type": "git",
|