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

54 lines (53 loc) 1.81 kB
{ "name": "api-response-utils", "version": "1.0.4", "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": { "build": "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", "eslint-config-prettier": "10.1.5", "prettier": "3.6.2", "ts-lib-builder": "1.0.7", "typescript": "5.7.2", "vitest": "3.2.4" }, "dependencies": { "error-message-utils": "1.1.5" } }