@sophons/request
v1.0.7
Published
π Probably the best Node.js HTTP request component, It also contains a rich stream processing
Downloads
131
Readme
@sophons/request
π Probably the best Node.js HTTP request component, It also contains a rich stream processing
Features
- Fast make an HTTP request with support for incoming Query
- Fast make an HTTP form-data request with support for incoming Query
- According to the URL, download the file to the local path
- Conversion between streams and buffers
- Converts the file to data in the specified format based on the URL
Inherited from axios π
- Make XMLHttpRequests from the browser
- Make http requests from node.js
- Supports the Promise API
- Intercept request and response
- Transform request and response data
- Cancel requests
- Automatic transforms for JSON data
- Client side support for protecting against XSRF
Installing
Using npm:
npm install @sophons/request
Using bower:
bower install @sophons/request
Using yarn:
yarn add @sophons/request
Using cnpm:
cnpm install @sophons/request