7.2.0 • Published 2 years ago

@turist/fetch v7.2.0

Weekly downloads
323,896
License
MIT
Repository
github
Last release
2 years ago

@turist/fetch

Opinionated fetch optimized for use inside microservices.

It automatically configures an agent via agentkeepalive, if not provided, with the following settings:

NameValue
maxSockets50
maxFreeSockets20
timeout60000
freeSocketKeepAliveTimeout30000

How to use

const fetch = require('@turist/fetch').default(require('some-fetch-implementation'))
import createFetch from '@turist/fetch';

const fetch = createFetch();

If no fetch implementation is supplied, it will attempt to use peerDep node-fetch.

7.2.0

2 years ago

7.1.7

4 years ago

7.1.6

4 years ago

7.1.5

4 years ago

7.1.4

4 years ago

7.1.3

4 years ago

7.1.2

4 years ago

7.1.1

4 years ago

7.1.0

4 years ago

7.0.0

4 years ago

6.3.1

4 years ago

6.3.0

4 years ago