{"library":"httpbackend","type":"library","category":null,"description":"httpbackend is an npm module designed to mock HTTP requests specifically within an AngularJS application being tested by Protractor. Its primary function is to intercept `XMLHttpRequest` and `$http` requests made by the AngularJS application, allowing developers to define custom responses for specific URLs and methods. This facilitates isolated and deterministic testing of frontend logic without relying on a live backend server. The package is currently at version 2.0.0, last published in June 2017. Due to its tight coupling with AngularJS and Protractor, both of which are considered legacy technologies, the package is no longer actively maintained. Its release cadence was sporadic and has ceased, making it unsuitable for modern web development workflows involving current Angular versions (2+), React, Vue, or contemporary testing frameworks like Cypress or Playwright. Its key differentiator was its direct integration with Protractor's `browser` object for injecting mock modules into AngularJS applications.","language":"javascript","status":"abandoned","version":"2.0.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install httpbackend","imports":["const HttpBackend = require('httpbackend');"]},{"cmd":"yarn add httpbackend","imports":[]},{"cmd":"pnpm add httpbackend","imports":[]}],"homepage":null,"github":"https://github.com/nchaulet/httpbackend","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/httpbackend","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/httpbackend/compatibility"}}