{"library":"typed-rest-client","type":"library","category":null,"description":"typed-rest-client is a lightweight REST and HTTP client library designed for Node.js, with a strong emphasis on TypeScript support, including generics and async/await capabilities. The current stable version is 2.3.0, building on a release history that includes a significant v2.0.0 update in late 2023 that raised the minimum Node.js requirement to version 16.0.0. The library provides built-in TypeScript typings, eliminating the need for separate type installations. It differentiates itself by offering both a low-level HttpClient, which returns response objects for all HTTP statuses (including 4xx/5xx), and a higher-level RestClient, which automatically deserializes JSON and throws errors for non-success status codes. Key features include support for Basic, Bearer, and NTLM authentication, proxy configurations, client/server certificates, and automatic handling of HTTP redirects. It maintains a regular, but not rapid, release cadence, focusing on stability and functionality for enterprise Node.js applications.","language":"javascript","status":"active","version":"2.3.0","tags":["javascript","rest","http","client","typescript","node"],"last_verified":"Wed May 27","install":[{"cmd":"npm install typed-rest-client","imports":["import { RestClient } from 'typed-rest-client/RestClient';","import { HttpClient } from 'typed-rest-client/HttpClient';","import { IRequestOptions } from 'typed-rest-client/Interfaces';"]},{"cmd":"yarn add typed-rest-client","imports":[]},{"cmd":"pnpm add typed-rest-client","imports":[]}],"homepage":null,"github":"https://github.com/Microsoft/typed-rest-client","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/typed-rest-client","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/typed-rest-client/compatibility"}}