{"library":"ono-http","type":"library","category":null,"description":"ono-http (v0.2.0) extends the ono library to create HTTP-specific error objects with status codes and standard HTTP error messages. It allows throwing errors with a status code (e.g., 404) and an optional custom message using printf-style formatting. The library is lightweight, wraps inner errors, and integrates with ono's error formatting. Current version is early (0.x) and not widely adopted; no clear release cadence. Key differentiator: combines ono's structured error throwing with HTTP status codes for server-side applications.","language":"javascript","status":"active","version":"0.2.0","tags":["javascript","throw","error","errors","exception","printf","format","wrap","ono"],"install":[{"cmd":"npm install ono-http","imports":["import { httpError } from 'ono-http'","import { createErrorClass } from 'ono-http'","import { OnoHttpError } from 'ono-http'"]},{"cmd":"yarn add ono-http","imports":[]},{"cmd":"pnpm add ono-http","imports":[]}],"homepage":null,"github":"https://github.com/danieljoppi/ono-http","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ono-http","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/ono-http/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}