UNPKG

api-response-utils

Version:

The api-response-utils package streamlines RESTful API data exchange by introducing a standardized data structure for HTTP response bodies. This structure simplifies client-side data handling, promoting consistency and readability in your API interactions

52 lines (51 loc) 1.75 kB
{ "name": "api-response-utils", "version": "1.0.3", "description": "The api-response-utils package streamlines RESTful API data exchange by introducing a standardized data structure for HTTP response bodies. This structure simplifies client-side data handling, promoting consistency and readability in your API interactions.", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "scripts": { "start": "ts-lib-builder --tsconfig=tsconfig.build.json", "test": "echo \"Error: tests are executed with npm run test:(integration|unit)\" && exit 1", "test:integration": "vitest run --config vitest.test-integration.config.ts", "test:unit": "vitest run --config vitest.test-unit.config.ts", "watch-test:integration": "vitest --config vitest.test-integration.config.ts", "watch-test:unit": "vitest --config vitest.test-unit.config.ts" }, "repository": { "type": "git", "url": "git+https://github.com/jesusgraterol/api-response-utils.git" }, "keywords": [ "api", "api-response", "utils", "utilities", "rest", "restful", "rest-api", "restful-api", "body", "http-body", "http" ], "author": "Jesus Graterol", "license": "MIT", "bugs": { "url": "https://github.com/jesusgraterol/api-response-utils/issues" }, "homepage": "https://github.com/jesusgraterol/api-response-utils#readme", "devDependencies": { "@types/node": "^20.17.9", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "eslint-config-airbnb-typescript": "^18.0.0", "ts-lib-builder": "^1.0.5", "typescript": "^5.7.2", "vitest": "^1.6.0" }, "dependencies": { "error-message-utils": "^1.1.2" } }