axios-api-versioning
Add easy to manage api versioning to axios
Online Demo
Quick Start
Install
npm
npm install --save axios-api-versioning
yarn
yarn add axios-api-versioning
Example Usage
;; // create an axios instance with versioning// and versioning configconst client = ; client
TypeScript Support
TypeScript is supported! There's no need to install types for this package from the @types
repository as they are provided by this package directly.
Documentation
You can visit the online docs here: https://weffe.github.io/axios-api-versioning
Example Projects
There are 2 example projects showcasing the usage of axios-api-versioning
.
You can check them out here:
Changelog
You can view the changelog here.
Related Projects
License
MIT