UNPKG

kypi

Version:

Type-safe, ergonomic API client builder for TypeScript & React based on ky.

110 lines (109 loc) 2.52 kB
{ "name": "kypi", "version": "0.4.4", "description": "Type-safe, ergonomic API client builder for TypeScript & React based on ky.", "type": "module", "keywords": [ "fetch", "api-client", "ky", "request", "requests", "http", "https", "fetching", "get", "url", "curl", "wget", "net", "network", "ajax", "api", "rest", "xhr", "browser", "got", "axios", "node-fetch" ], "license": "MIT", "homepage": "https://github.com/lucas-labs/kypi#readme", "bugs": { "url": "https://github.com/lucas-labs/kypi/issues" }, "repository": { "type": "git", "url": "git+https://github.com/lucas-labs/kypi.git" }, "author": "Lucas Colombo <lucas@lucode.dev>", "files": [ "dist", "readme.md" ], "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": "./dist/index.js", "./react": { "types": "./dist/react/index.d.ts", "default": "./dist/react/index.js" }, "./package.json": "./package.json" }, "publishConfig": { "access": "public" }, "scripts": { "lint": "eslint --cache .", "lint:fix": "bun run lint --fix", "build": "tsdown", "dev": "tsdown --watch", "playground": "vite --config playground/vite.config.ts", "test": "vitest", "typecheck": "tsc --noEmit", "format": "prettier --cache --write .", "release": "bumpp", "prepublishOnly": "bun run build" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-dom": { "optional": true } }, "dependencies": { "ky": "^1.14.0" }, "devDependencies": { "@codecov/rollup-plugin": "^1.9.1", "@sxzz/eslint-config": "^7.3.2", "@sxzz/prettier-config": "^2.2.5", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.0", "@types/node": "^24.10.1", "@types/react": "^19.2.7", "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^5.1.1", "@vitest/coverage-v8": "^4.0.14", "bumpp": "^10.3.2", "eslint": "^9.39.1", "happy-dom": "^20.0.10", "prettier": "^3.6.2", "react": "^19.2.0", "react-dom": "^19.2.0", "tsdown": "^0.16.7", "tsx": "^4.20.6", "typescript": "^5.9.3", "vite": "npm:rolldown-vite@latest", "vitest": "^4.0.14" }, "prettier": "@sxzz/prettier-config" }