0.1.3 • Published 3 years ago

axios-simple-cache v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Npm package version Install size npm downloads GitHub issues Languages CodeQL

Axios Simple Cache is a small library for axios.

📋 Table of Contents

🚀 Install

npm i axios-simple-cache

yarn add axios-simple-cache

🪄 Usage

Cache for global instance

import axios from 'axios';
import { setupAxiosCache } from 'axios-simple-cache';

setupAxiosCache(axios);

Cache for custom instance

import axios from 'axios';
import { setupAxiosCache } from 'axios-simple-cache';

const axiosInstance = axios.create();
setupAxiosCache(axiosInstance);

📕 Release History

  • 0.1.0
    • MVP (working version)

📝 Roadmap

  • MVP (working version)
  • Add tests
  • Add examples
  • Add JSDoc
  • Add cache options

See the open issues for a full list of proposed features (and known issues).

⭐️ Maintainers

@kuzn5298

🛠 Contributing

Feel free to dive in! Open an issue or submit PRs.

Standard Readme follows the Contributor Covenant Code of Conduct.

📜 License

GitHub license