btisdall / axios-etag-cache

A axios etag interceptor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

axios-etag-cache

Axios etag interceptor to enable If-None-Match request with ETAG support

Basic use:

const axios = require('axios');
const { axiosETAGCache } = require('axios-etag-cache');

axiosETAGCache(axios)
  .get('http://example.com')
  .then(console.log)
  .catch(console.error);

About

A axios etag interceptor

License:MIT License


Languages

Language:TypeScript 85.5%Language:Shell 10.6%Language:Makefile 3.9%