/
Romenxek
/
Diplom
Обзор
Документация
Войти
/
Romenxek
/
Diplom
Код
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Diplom
/
node_modules
/
node-fetch
/
..
@types
first commit
год назад
src
first commit
год назад
LICENSE.md
first commit
год назад
README.md
first commit
год назад
package.json
first commit
год назад
Motivation
Features
Difference from client-side fetch
Installation
Loading and configuring the module
ES Modules (ESM)
CommonJS
Providing global access
Upgrading
Common Usage
Plain text or HTML
JSON
Simple Post
Post with JSON
Post with form parameters
Handling exceptions
Handling client and server errors
Handling cookies
Advanced Usage
Streams
Accessing Headers and other Metadata
Extract Set-Cookie Header
Post data using a file
Request cancellation with AbortSignal
API
fetch(url[, options])
Options
Default Headers
Custom Agent
Custom highWaterMark
Insecure HTTP Parser
Manual Redirect
Class: Request
new Request(input[, options])
Class: Response
new Response([body[, options]])
response.ok
response.redirected
response.type
Class: Headers
new Headers([init])
Interface: Body
body.body
body.bodyUsed
body.arrayBuffer()
body.formData()
body.blob()
body.json()
body.text()
Class: FetchError
Class: AbortError
TypeScript
Acknowledgement
Team
Former
License
README.md