@dtwojs/axios
TypeScript icon, indicating that this package has built-in type declarations

5.13.6 • Public • Published

@dtwojs/axios

Secure and easy Axios integration for Dtwo.

Features

  • Automatically set base URL for client & server side
  • Exposes setToken function to $axios so we can easily and globally set authentication tokens
  • Automatically enables withCredentials when requesting to base URL
  • Proxy request headers in SSR
  • Fetch Style requests
  • Integrated with Dtwo progress bar
  • Integrated with Proxy Module
  • Auto retry requests with axios-retry

📑 License

MIT License

Copyright (c) Dtwo Community

Readme

Keywords

none

Package Sidebar

Install

npm i @dtwojs/axios

Weekly Downloads

1

Version

5.13.6

License

MIT

Unpacked Size

15.6 kB

Total Files

7

Last publish

Collaborators

  • nkduy