1.1.2 • Published 1 month ago

follow-redirects-fast v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Follow Redirect Fast

Follow redirect using barebone packages (tls and net) from NodeJS.

Supports Promise return

npm version Node.js CI

Example:

const followRedirects = require('follow-redirects-fast');

(async () => {
    const url = await followRedirects({ url: 'http://bit.ly/3K8720O', maxRedirects: 10, timeout: 5000 });
    console.log(url);
})();
  • Options List:
    • url (required): URL you want to follow redirect
    • maxRedirects (default: 5): Max Redirects you want to follow
    • timeout (default: 5000): Time in ms you want to wait until error
1.1.2

1 month ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago