{"library":"detritus-rest","type":"library","category":null,"description":"A lightweight REST library for JavaScript and TypeScript, version 0.8.0, with TypeScript declarations included. Designed for simplicity and browser/Node compatibility, it provides a minimalistic API for common HTTP methods (GET, POST, PUT, DELETE, PATCH) and supports custom headers, query parameters, request bodies, and response parsing. Unlike heavier solutions like Axios, Detritus REST focuses on zero dependencies and a small footprint (under 5KB). It has a monthly release cadence with occasional breaking changes in minor versions, so pinning is recommended. Primarily used in Discord bot development (part of the Detritus ecosystem) but suitable for any REST API consumption.","language":"javascript","status":"active","version":"0.8.0","tags":["javascript","rest","library","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install detritus-rest","imports":["import { RestClient } from 'detritus-rest'","import type { RestRequestOptions } from 'detritus-rest'","import RestClient from 'detritus-rest'"]},{"cmd":"yarn add detritus-rest","imports":[]},{"cmd":"pnpm add detritus-rest","imports":[]}],"homepage":"https://github.com/detritusjs/rest#readme","github":"https://github.com/detritusjs/rest","docs":null,"changelog":null,"pypi":null,"npm":"detritus-rest","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}