{"library":"btrz-http-service","type":"library","category":null,"description":"btrz-http-service is a JavaScript utility library designed to streamline API development within the Betterez ecosystem. Currently at version 1.47.0, it offers a suite of tools including a Swagger request handler formatter for defining API endpoints, specialized success and error response handlers for consistent API feedback, a collection of common Swagger schemas, and robust Swagger schema validation. It also introduces a custom `ValidationError` type to standardize error reporting within the application. The library appears to be actively maintained with a steady release cadence, evidenced by its significant minor version increments. Its key differentiators include its tight integration with Swagger for API definition and validation, a structured approach to middleware and error handling, and its focus on providing consistent API behavior for Betterez applications.","language":"javascript","status":"active","version":"1.47.0","tags":["javascript","request","response","handlers","http"],"last_verified":"Wed May 27","install":[{"cmd":"npm install btrz-http-service","imports":["const swaggerRequestHandler = require('btrz-http-service').swaggerRequestHandler;","const ResponseHandlers = require('btrz-http-service').ResponseHandlers;","const validateSwaggerSchema = require('btrz-http-service').validateSwaggerSchema;","const ValidationError = require('btrz-http-service').ValidationError;"]},{"cmd":"yarn add btrz-http-service","imports":[]},{"cmd":"pnpm add btrz-http-service","imports":[]}],"homepage":"https://www.betterez.com","github":"https://github.com/Betterez/btrz-http-service","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/btrz-http-service","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/btrz-http-service/compatibility"}}