{"library":"rest-js","type":"library","category":null,"description":"A lightweight REST client that works in both browser and Node.js environments, with CRUD methods, promise support, caching, and a middleware system for request/response transformation. Version 1.1.3 is the latest stable release, with low maintenance cadence. Differentiators include isomorphic design (client/server), URL-based response caching, and built-in middlewares for JSON handling and HTTP method workaround for browsers. Supports GET, POST, PUT, DELETE and arbitrary HTTP methods via .request().","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","rest"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rest-js","imports":["import rest from 'rest-js'","const api = rest('baseUrl', options); api.read('/path', callback);","api.use(function(request, next) { next(); })"]},{"cmd":"yarn add rest-js","imports":[]},{"cmd":"pnpm add rest-js","imports":[]}],"homepage":"https://github.com/der-On/rest-js","github":"git://github.com/der-On/rest-js","docs":null,"changelog":null,"pypi":null,"npm":"rest-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}