{"library":"http-as-promised","type":"library","category":null,"description":"A Node.js HTTP client that wraps the request library with Bluebird promises, automatically rejecting on HTTP error status codes (>= 400). Version 2.0.1 is the latest stable release (last updated 2016). The package is deprecated in favor of using modern HTTP clients like `node-fetch` or `axios` with native promises. Key differentiators: built-in HTTP error classes for specific status codes (e.g., `NotFoundError`, `InternalServerError`) and automatic rejection on non-2xx responses.","language":"javascript","status":"deprecated","version":"2.0.1","tags":["javascript","errors","exceptions","throw","custom","util","utility","bluebird","promise"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-as-promised","imports":["var $http = require('http-as-promised')","var HTTPError = require('http-as-promised').HTTPError","var NotFoundError = require('http-as-promised').NotFoundError"]},{"cmd":"yarn add http-as-promised","imports":[]},{"cmd":"pnpm add http-as-promised","imports":[]}],"homepage":null,"github":"https://github.com/jcready/http-as-promised","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-as-promised","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/http-as-promised/compatibility"}}