{"library":"express-body-parser-error-handler","type":"library","category":null,"description":"Middleware for Express that catches body-parser errors and returns appropriate 4xx HTTP responses with descriptive messages. v1.0.9 is stable, last updated in 2021. Handles all body-parser error types (invalid JSON, payload too large, unsupported charset, etc.) and maps them to correct status codes (400, 413, 415, 500). Ships TypeScript definitions. Unlike manual error handling in Express, this provides a consistent, one-line middleware approach. No breaking changes since v1.0.0.","language":"javascript","status":"active","version":"1.0.9","tags":["javascript","express","body-parser","middleware","error-handler","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-body-parser-error-handler","imports":["import bodyParserErrorHandler from 'express-body-parser-error-handler'","import bodyParserErrorHandler from 'express-body-parser-error-handler'","import type { BodyParserErrorHandlerOptions } from 'express-body-parser-error-handler'"]},{"cmd":"yarn add express-body-parser-error-handler","imports":[]},{"cmd":"pnpm add express-body-parser-error-handler","imports":[]}],"homepage":null,"github":"https://github.com/ntedgi/express-body-parser-error-handler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-body-parser-error-handler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/express-body-parser-error-handler/compatibility"}}