/
astafievk
/
source_code
Обзор
Документация
Войти
/
astafievk
/
source_code
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
source_code
/
...
/
node_modules
/
node-fetch
/
..
lib
source code
2 года назад
LICENSE.md
source code
2 года назад
README.md
source code
2 года назад
browser.js
source code
2 года назад
package.json
source code
2 года назад
Motivation
Features
Difference from client-side fetch
Installation
Loading and configuring the module
Common Usage
Plain text or HTML
JSON
Simple Post
Post with JSON
Post with form parameters
Handling exceptions
Handling client and server errors
Advanced Usage
Streams
Buffer
Accessing Headers and other Meta data
Extract Set-Cookie Header
Post data using a file stream
Post with form-data (detect multipart)
Request cancellation with AbortSignal
API
fetch(url[, options])
Options
Default Headers
Custom Agent
Class: Request
new Request(input[, options])
Class: Response
new Response([body[, options]])
response.ok
response.redirected
Class: Headers
new Headers([init])
Interface: Body
body.body
body.bodyUsed
body.arrayBuffer()
body.blob()
body.json()
body.text()
body.buffer()
body.textConverted()
Class: FetchError
Class: AbortError
Acknowledgement
License
README.md