{"library":"superagent-mocker","type":"library","category":null,"description":"A simple REST API mocking library for superagent in browser or Node.js. Version 0.5.2 (final release) with no updates since 2017. Allows defining route handlers for GET, POST, PUT, PATCH, DELETE with URL parameters and body access. Supports custom timeout, header matching, and route teardown. Differentiates by working directly on the superagent instance, no separate server needed, suitable for frontend testing.","language":"javascript","status":"abandoned","version":"0.5.2","tags":["javascript","superagent","crud","mocks","stubs","rest","test"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install superagent-mocker","imports":["import mock from 'superagent-mocker'","mock.get('/path', handler)","mock.clearRoutes()"]},{"cmd":"yarn add superagent-mocker","imports":[]},{"cmd":"pnpm add superagent-mocker","imports":[]}],"homepage":"https://github.com/shuvalov-anton/superagent-mocker","github":"ssh://git@github.com/shuvalov-anton/superagent-mocker","docs":null,"changelog":null,"pypi":null,"npm":"superagent-mocker","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}