@raahulll18/backend
v1.0.3
Published
Backend Utility Core Package
Readme
@core/backend
A lightweight, reusable backend utility package for Node.js + Express applications.
It provides a clean and consistent structure for:
- API Success & Error response classes
- Centralized Application Error Handler
- Async function wrapper (
catchError) - Standardized status codes
- Strong TypeScript support
Perfect for microservices and scalable backend architectures.
🚀 Features
Author: Rahul Avhad
- ✔ Consistent API success & error responses
- ✔
ApiErrorclass for structured known errors - ✔
ErrorResponse&SuccessResponsewrappers - ✔ Central
applicationLevelErrorHandlermiddleware - ✔
catchErrorwrapper for async controllers - ✔ Built-in status code constants
- ✔ Written fully in TypeScript
📦 Installation
npm install @raahulll18/backend
