error-message-utils
Version:
The error-message-utils package simplifies error management in your web applications and RESTful APIs. It ensures consistent and scalable handling of error messages, saving you time and effort. Moreover, it gives you the ability to assign custom error cod
51 lines (50 loc) • 1.74 kB
JSON
{
"name": "error-message-utils",
"version": "1.1.3",
"description": "The error-message-utils package simplifies error management in your web applications and RESTful APIs. It ensures consistent and scalable handling of error messages, saving you time and effort. Moreover, it gives you the ability to assign custom error codes so all possible cases can be handled accordingly.",
"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": "jest --config=jest.test-integration.config.json --no-cache",
"test:unit": "jest --config=jest.test-unit.config.json --no-cache"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jesusgraterol/error-message-utils.git"
},
"keywords": [
"error",
"error-management",
"encoder",
"decoder",
"error-encoder",
"error-decoder",
"utils",
"utilities",
"error-utils",
"error-utilities",
"stderr",
"standard-error",
"error-handling"
],
"author": "Jesus Graterol",
"license": "MIT",
"bugs": {
"url": "https://github.com/jesusgraterol/error-message-utils/issues"
},
"homepage": "https://github.com/jesusgraterol/error-message-utils#readme",
"devDependencies": {
"@types/jest": "^29.5.14",
"@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",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"ts-lib-builder": "^1.0.5",
"typescript": "^5.7.2"
}
}