iracing-data-client 0.0.1
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 +200 -0
- package/lib/index.d.mts +3299 -0
- package/lib/index.d.ts +3299 -0
- package/lib/index.js +4010 -0
- package/lib/index.js.map +1 -0
- package/lib/index.mjs +3858 -0
- package/lib/index.mjs.map +1 -0
- package/package.json +58 -0
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "iracing-data-client",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Fully-typed HTTP Client for the iRacing Data API with automatic code generation, built-in caching, smart authentication, and comprehensive error handling.",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "lib/index.mjs",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./lib/index.mjs",
|
|
11
|
+
"require": "./lib/index.js",
|
|
12
|
+
"types": "./lib/index.d.ts"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"lib/**/*",
|
|
17
|
+
"README.md",
|
|
18
|
+
"package.json"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsup",
|
|
22
|
+
"dev": "tsup --watch",
|
|
23
|
+
"prepublishOnly": "npm run build",
|
|
24
|
+
"sdk:generate": "npx tsx scripts/generate-sdk.ts",
|
|
25
|
+
"sdk:test": "npx tsx test-sdk.ts",
|
|
26
|
+
"samples:scrape": "npx tsx scripts/scrape-api-samples.ts",
|
|
27
|
+
"samples:scrape-force": "npx tsx scripts/scrape-api-samples.ts docs/api/index.json samples --force",
|
|
28
|
+
"docs:dev": "cd docs-site && pnpm dev",
|
|
29
|
+
"docs:build": "cd docs-site && pnpm build",
|
|
30
|
+
"docs:preview": "cd docs-site && pnpm preview",
|
|
31
|
+
"test": "vitest",
|
|
32
|
+
"typecheck": "tsc --noEmit"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"iracing-data-api",
|
|
36
|
+
"iracing-data-client",
|
|
37
|
+
"iracing-data-client",
|
|
38
|
+
"iracing",
|
|
39
|
+
"sim-racing"
|
|
40
|
+
],
|
|
41
|
+
"author": "Ally Murray",
|
|
42
|
+
"license": "ISC",
|
|
43
|
+
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0",
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@changesets/cli": "^2.29.7",
|
|
46
|
+
"@types/node": "^24.3.1",
|
|
47
|
+
"dotenv": "^17.2.2",
|
|
48
|
+
"json-schema-to-zod": "^2.6.1",
|
|
49
|
+
"quicktype-core": "^23.2.6",
|
|
50
|
+
"tsup": "^8.5.0",
|
|
51
|
+
"tsx": "^4.20.5",
|
|
52
|
+
"typescript": "^5.9.2",
|
|
53
|
+
"vitest": "^3.2.4"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"zod": "4.1.5"
|
|
57
|
+
}
|
|
58
|
+
}
|