Socket
Socket
Sign inDemoInstall

typed-rest-client

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-rest-client - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0

Handlers.d.ts

2

package.json
{
"name": "typed-rest-client",
"version": "0.13.0",
"version": "0.14.0",
"description": "Node Rest and Http Clients for use with TypeScript",

@@ -5,0 +5,0 @@ "main": "./RestClient.js",

@@ -11,27 +11,12 @@ # Typed Rest and Http Client with TypeScript Typings

- Rest Client with typescript generics and async/await/Promises
- Http Client with pipe stream support and async/await/Promises
```javascript
import * as rm from 'typed-rest-client/RestClient';
let restc: rm.RestClient = new rm.RestClient('rest-samples',
'https://mystudentapiserver');
let res: rm.IRestResponse<Student> = await restc.get<Student>('/students/5');
console.log(res.statusCode);
console.log(res.result.name);
```
- Rest and Http Client with typescript generics and async/await/Promises
- Typings included so no need to acquire separately (great for intellisense and no versioning drift)
![intellisense](./docs/intellisense.png)
- Basic, Bearer and NTLM Support out of the box
- Proxy support
- Certificate support (Self-signed server and client cert)
- Layered for Rest or Http use
- Full Samples and Tests included for usage
- Redirects supported
Intellisense and compile support from typing the REST calls:
![intellisense](./docs/intellisense.png)
## Install the library

@@ -38,0 +23,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc