gracely
JSON →gracely is a lightweight TypeScript library for creating structured, HTTP-friendly error objects suitable for REST API responses. Version 2.0.13 is stable with a low release cadence. It provides a set of factory functions (e.g., badRequest, notFound) that generate standardized error payloads with status codes, messages, and optional details. Unlike generic error classes, gracely focuses on REST semantics and integrates cleanly with frameworks like Express or Fastify. Ships TypeScript types.