UNPKG

openapi-fetch

Version:

Fast, type-safe fetch client for your OpenAPI schema. Only 6 kb (min). Works with React, Vue, Svelte, or vanilla JS.

77 lines 2.17 kB
{ "name": "openapi-fetch", "description": "Fast, type-safe fetch client for your OpenAPI schema. Only 6 kb (min). Works with React, Vue, Svelte, or vanilla JS.", "version": "0.17.0", "author": { "name": "Drew Powers", "email": "drew@pow.rs" }, "license": "MIT", "type": "module", "main": "./dist/index.mjs", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs", "default": "./dist/index.mjs" }, "./*": "./*" }, "homepage": "https://openapi-ts.dev", "repository": { "type": "git", "url": "https://github.com/openapi-ts/openapi-typescript", "directory": "packages/openapi-fetch" }, "bugs": { "url": "https://github.com/openapi-ts/openapi-typescript/issues" }, "keywords": [ "openapi", "swagger", "rest", "api", "oapi_3", "oapi_3_1", "typescript", "fetch", "react", "vue", "svelte" ], "dependencies": { "openapi-typescript-helpers": "^0.1.0" }, "devDependencies": { "axios": "1.13.5", "execa": "^9.6.1", "express": "5.2.1", "feature-fetch": "0.0.51", "node-forge": "1.3.1", "openapi-typescript-codegen": "0.29.0", "openapi-typescript-fetch": "2.2.1", "superagent": "10.3.0", "typescript": "^5.9.3", "undici": "7.16.0", "vite": "^7.3.1", "openapi-typescript": "^7.13.0" }, "scripts": { "build": "unbuild", "format": "biome format . --write", "lint": "pnpm run lint:js && pnpm run lint:ts && pnpm run lint:ts-no-strict", "lint:js": "biome check .", "lint:ts": "tsc --noEmit", "lint:ts-no-strict": "tsc --noEmit -p test/no-strict-null-checks/tsconfig.json", "generate-types": "openapi-typescript -c test/redocly.yaml", "pretest": "pnpm run generate-types", "test": "pnpm run test:js && pnpm run test:exports", "test:js": "vitest run", "test:exports": "pnpm run build && attw --pack .", "test-e2e": "playwright test", "bench:js": "vitest bench", "e2e-vite-build": "vite build test/e2e/app", "e2e-vite-start": "vite preview test/e2e/app", "version": "pnpm run prepare && pnpm run build" } }