UNPKG

iracing-data-client

Version:

Fully-typed HTTP Client for the iRacing Data API with automatic code generation, built-in caching, smart authentication, and comprehensive error handling.

59 lines (58 loc) 1.77 kB
{ "name": "iracing-data-client", "version": "0.0.1", "description": "Fully-typed HTTP Client for the iRacing Data API with automatic code generation, built-in caching, smart authentication, and comprehensive error handling.", "main": "lib/index.js", "module": "lib/index.mjs", "types": "lib/index.d.ts", "exports": { ".": { "import": "./lib/index.mjs", "require": "./lib/index.js", "types": "./lib/index.d.ts" } }, "files": [ "lib/**/*", "README.md", "package.json" ], "scripts": { "build": "tsup", "dev": "tsup --watch", "prepublishOnly": "npm run build", "sdk:generate": "npx tsx scripts/generate-sdk.ts", "sdk:test": "npx tsx test-sdk.ts", "samples:scrape": "npx tsx scripts/scrape-api-samples.ts", "samples:scrape-force": "npx tsx scripts/scrape-api-samples.ts docs/api/index.json samples --force", "docs:dev": "cd docs-site && pnpm dev", "docs:build": "cd docs-site && pnpm build", "docs:preview": "cd docs-site && pnpm preview", "test": "vitest", "typecheck": "tsc --noEmit" }, "keywords": [ "iracing-data-api", "iracing-data-client", "iracing-data-client", "iracing", "sim-racing" ], "author": "Ally Murray", "license": "ISC", "packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0", "devDependencies": { "@changesets/cli": "^2.29.7", "@types/node": "^24.3.1", "dotenv": "^17.2.2", "json-schema-to-zod": "^2.6.1", "quicktype-core": "^23.2.6", "tsup": "^8.5.0", "tsx": "^4.20.5", "typescript": "^5.9.2", "vitest": "^3.2.4" }, "dependencies": { "zod": "4.1.5" } }