Drop-in axios
replacement for NodeJS and Next.JS with axios
API based on native fetch implementation.
axios
is a great library, but it has some issues:
- It's not using native
fetch
API, so it's slow and buggy on backend - It's not supporting Next.JS caching mechanism
npm install --save navios
or
yarn add navios
import navios from 'navios';
navios.get('https://example.com').then((response) => {
console.log(response.data);
});