@jswork/next-fetch-with-retry

1.0.10 • Public • Published

next-fetch-with-retry

Fetch with try for next.

version license size download

installation

npm install -S @jswork/next-fetch-with-retry

usage

import '@jswork/next-fetch-with-retry';

const betterFetch = nx.fetchWithRetry(fetch);

betterFetch('https://www.google1.com/')
  .catch((err) => {
    console.log('err::::', err);
  });

license

Code released under the MIT license.

Package Sidebar

Install

npm i @jswork/next-fetch-with-retry

Weekly Downloads

29

Version

1.0.10

License

MIT

Unpacked Size

5.92 kB

Total Files

5

Last publish

Collaborators

  • afeiship