-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.46 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "decision-tree",
"description": "NodeJS implementation of decision tree, random forest, and XGBoost algorithms with comprehensive performance testing (Node.js 20+)",
"version": "1.1.0",
"author": "Ankit Kuwadekar",
"repository": {
"type": "git",
"url": "git://github.com/serendipious/nodejs-decision-tree.git"
},
"main": "./lib/decision-tree.js",
"types": "./lib/decision-tree.d.ts",
"module": "./lib/decision-tree.js",
"type": "module",
"exports": {
".": {
"import": "./lib/decision-tree.js",
"require": "./lib/decision-tree.js",
"types": "./lib/decision-tree.d.ts"
},
"./xgboost": {
"import": "./lib/xgboost.js",
"require": "./lib/xgboost.js",
"types": "./lib/xgboost.d.ts"
},
"./xgboost": {
"import": "./lib/random-forest.js",
"require": "./lib/random-forest.js",
"types": "./lib/random-forest.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"lib",
"src"
],
"dependencies": {
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/lodash": "^4.17.20",
"@types/mocha": "^10.0.10",
"@types/node": "^24.3.0",
"cross-env": "^10.0.0",
"esm": "^3.2.25",
"mocha": "^11.7.1",
"ts-node": "^10.9.2",
"typescript": "^5.9.2"
},
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"test": "npm run build && cross-env NODE_PATH=. mocha --require ts-node/register -R spec tst/*.ts",
"test:bun": "bun run build && NODE_PATH=. npx mocha --require ts-node/register -R spec tst/*.ts",
"test:watch": "npm run build && NODE_PATH=. ./node_modules/.bin/mocha --require ts-node/register -R spec --watch tst/*.ts",
"clean": "rm -rf lib",
"prepublishOnly": "npm run clean && npm run build",
"example:js": "node examples/javascript-usage.js",
"example:ts": "ts-node examples/typescript-usage.ts",
"example:rf-js": "node examples/random-forest-usage.js",
"example:rf-ts": "ts-node examples/random-forest-usage.ts",
"example:xgb-js": "node examples/xgboost-usage.js",
"example:xgb-ts": "ts-node examples/xgboost-usage.ts"
},
"engines": {
"node": ">= 20.x"
},
"keywords": [
"decision",
"tree",
"classifier",
"classification",
"machine",
"learning",
"decision tree",
"random forest",
"xgboost",
"gradient boosting",
"ensemble learning",
"machine learning",
"ID3",
"performance testing",
"typescript"
],
"license": "MIT"
}