@sophons/request

πŸš€ Probably the best Node.js HTTP request component, It also contains a rich stream processing


Keywords
request, http, file, buffer, stream, axios, ci, form-data, http-client, https
License
MIT
Install
npm install @sophons/request@0.1.3

Documentation

@sophons/request

πŸš€ Probably the best Node.js HTTP request component, It also contains a rich stream processing

ci codecov npm install size Known Vulnerabilities

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

Example

English Docs | δΈ­ζ–‡ζ–‡ζ‘£

License

MIT