[ 原始碼: node-got ]
套件:node-got(7.1.0-1)
Simplified HTTP requests
This module provides a nicer interface to the built-in http module.
This module was created because request is bloated *(several megabytes!)*.
Highlights:
- Promise & stream API - Request cancellation - Follows redirects - Retries on network failure - Handles gzip/deflate - Timeout handling - Errors with metadata - JSON mode - WHATWG URL support - Electron support
Node.js is an event-based server-side JavaScript engine.
其他與 node-got 有關的套件
|
|
|
|
-
- dep: node-decompress-response (>= 3.2.0)
- Decompress a HTTP response if needed
-
- dep: node-duplexer3 (>= 0.1.4)
- Like duplexer but using streams3
-
- dep: node-get-stream (>= 3.0.0)
- Get a stream as a string, buffer, or array
-
- dep: node-is-plain-obj (>= 1.1.0)
- Check if a value is a plain object
-
- dep: node-is-retry-allowed (>= 1.0.0)
- Is retry allowed for Error?
-
- dep: node-is-stream (>= 1.0.0)
- Check if something is a Node.js stream
-
- dep: node-isurl (>= 1.0.0~alpha5)
- Checks whether a value is a WHATWG URL
-
- dep: node-lowercase-keys (>= 1.0.0)
- Lowercase the keys of an object
-
- dep: node-p-cancelable (>= 0.3.0)
- Create a promise that can be canceled
-
- dep: node-p-timeout (>= 1.1.1)
- Timeout a promise after a specified amount of time
-
- dep: node-safe-buffer (>= 5.0.1)
- Safer Node.js Buffer API
-
- dep: node-timed-out (>= 4.0.0)
- Emit `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged
-
- dep: node-url-parse-lax (>= 1.0.0)
- url.parse() with support for protocol-less URLs & IPs
-
- dep: node-url-to-options (>= 1.0.1)
- Convert a WHATWG URL to an http(s).request options object
-
- dep: nodejs
- evented I/O for V8 javascript - runtime executable