UNPKG

guardz-axios

Version:

Type-safe HTTP client built on top of Axios with runtime validation using guardz. Part of the guardz ecosystem for comprehensive TypeScript type safety.

71 lines (70 loc) 1.85 kB
{ "name": "guardz-axios", "version": "1.11.3", "description": "Type-safe HTTP client built on top of Axios with runtime validation using guardz. Part of the guardz ecosystem for comprehensive TypeScript type safety.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc && tsc-alias", "prepublishOnly": "npm run build", "test": "npx jest", "test:coverage": "npx jest --coverage", "test:watch": "npx jest --watch", "lint": "eslint src/**/*.ts --ext .ts", "lint:fix": "eslint src/**/*.ts --ext .ts --fix", "type-check": "tsc --noEmit", "dev": "ts-node src/index.ts", "clean": "rm -rf dist", "prebuild": "npm run clean" }, "keywords": [ "typescript", "axios", "type-guard", "validation", "http", "response", "error-handling", "guardz", "guardz-ecosystem", "runtime-validation", "type-safety", "http-client" ], "author": "Thien Nguyen", "license": "MIT", "funding": { "type": "individual", "url": "https://github.com/thiennp" }, "bugs": { "url": "https://github.com/thiennp/guardz-axios/issues" }, "homepage": "https://github.com/thiennp/guardz-axios#readme", "repository": { "type": "git", "url": "https://github.com/thiennp/guardz-axios.git" }, "peerDependencies": { "axios": "^1.0.0", "guardz": "^1.11.3" }, "devDependencies": { "@types/jest": "^29.0.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "axios": "^1.6.0", "eslint": "^8.0.0", "eslint-plugin-jest": "^27.9.0", "guardz": "^1.11.3", "jest": "^29.0.0", "ts-jest": "^29.4.0", "ts-node": "^10.9.0", "tsc-alias": "^1.8.10", "typescript": "^5.0.0" }, "files": [ "dist" ] }