Skip to content

Caseize request's and response's data through axios interceptors

License

Notifications You must be signed in to change notification settings

abdalem/axios-caseize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axios-Caseize

Caseize request's and response's data through Axios interceptors


Axios-Caseize allow you, using Caseize package, to add interceptors to axios instance in order to caseize request and response data.

Code Demo

import axiosCaseize from 'axios-caseize'
import axios from 'axios'

const instance = axios.create(/*axiosOptions*/)
const optionnalAxiosCaseizeParams = {
  request: 'snakecase', //optionnal, default to 'snakecase', see caseize package for available cases
  response: 'camelcase', //optionnal, default to 'camelcase', see caseize package for available cases
}

Download & Installation

$ npm i axios-caseize

Contributing

Keep it simple. Keep it minimal. Don't put every single feature just because you can.

Authors or Acknowledgments

  • abdalem

License

This project is licensed under the ISC License

About

Caseize request's and response's data through axios interceptors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published