axios-case-converter icon indicating copy to clipboard operation
axios-case-converter copied to clipboard

TypeError: applyCaseMiddleware is not a function

Open camcam2605 opened this issue 2 years ago • 1 comments

Getting TypeError: applyCaseMiddleware is not a function when using in Node 16.x with type module enabled.

import axios from 'axios';
import applyCaseMiddleware from 'axios-case-converter';

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

camcam2605 avatar Aug 04 '23 00:08 camcam2605

Thank you for your bug report. I apologize, but I've been detached from front-end development for a long time and Axios itself seems quite legacy, with apparently less usage now. Consequently, I've lost the motivation to maintain this library.

  • If you submit a pull request with the bug fix, I will consider it as long as it passes the tests.
  • If you are motivated to maintain this project, I am willing to appoint you as a maintainer. Since releases are automated through GitHub Actions, you should be able to handle releases yourself with maintainer privileges.

I'm sorry, but please proceed according to one of these two approaches. Thank you.

mpyw avatar Jan 12 '24 06:01 mpyw