Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 528 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 528 Bytes

Navios

Drop-in axios replacement for NodeJS and Next.JS with axios API based on native fetch implementation.

Why?

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

Installation

npm install --save navios

or

yarn add navios

Usage

import navios from 'navios';

navios.get('https://example.com').then((response) => {
  console.log(response.data);
});