got icon indicating copy to clipboard operation
got copied to clipboard

🌐 Human-friendly and powerful HTTP request library for Node.js

Results 141 got issues
Sort by recently updated
recently updated
newest added

Had to be disabled for ESM: https://github.com/sindresorhus/got/pull/1687/commits/1eee7c24a33251ae52bbcf841e94760cecd3e6f3 Blocked by https://github.com/istanbuljs/nyc/issues/1353 (I tried using the mentioned `@istanbuljs/esm-loader-hook`, but it didn't work)

external

Something like ```js const { EventEmitter, errorMonitor } = require('events'); EventEmitter.realInit = EventEmitter.init; EventEmitter.init = function(opts) { Error.captureStackTrace(this); this.on(errorMonitor, error => { error.creationStack = this.stack; }); return EventEmitter.realInit.call(this, opts); };...

documentation

The latest beta weighs 2.2MB. Currently it is 1.5MB of `@types/*`. That means Got is just 700KB. I'm creating a new cache implementation here: https://github.com/szmarczak/http-cache/

#### What problem are you trying to solve? speed improvement #### Describe the feature use new http/1.1 client https://github.com/nodejs/undici, which is faster than builtin `http` original tweet - https://twitter.com/matteocollina/status/1298148085210775553 ####...

enhancement
✭ help wanted ✭

We should have a test that install Got with only production dependencies `npm i --production` and then try to require it and do a request, just to ensure nothing broke...

enhancement
✭ help wanted ✭

Related: - https://http3-explained.haxx.se/en/ - https://github.com/nodejs/node/issues/23064 - https://github.com/nodejs/quic

future

```js import got from 'got'; const cache = new Map(); await got.get('https://szmarczak.com/favicon.ico', { retry: {limit: 0}, cache, http2: true }); const {headers, body, isFromCache} = await got.get('https://szmarczak.com/favicon.ico', { retry: {limit:...

bug
✭ help wanted ✭
external

#### What problem are you trying to solve? Safely retrieve content delivered from a server. #### Describe the feature Depending on how the stream is sent from the server, got...

enhancement
✭ help wanted ✭

They support HTTP2! :sparkles: Another alternative is `micro`.

enhancement
✭ help wanted ✭

[](https://issuehunt.io/r/sindresorhus/got/issues/746) #### What would you like to discuss? I'd like to override got caching so to extend what the remote headers ask me to do. I currently use the `max-stale`...

enhancement
external
:dollar: Funded on Issuehunt