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

7.4.7 • Public • Published

Axios client adapter for smartlyio/oats

See smartlyio/oats

This adapter provides two ways to bind the generated client definitions

import * as adapter from '@smartlyio/oats-axios-adapter';

// bind the default axios instance
adapter.create()(definitions);

// provide your own axios instance
adapter.create({axiosInstance: someAxiosInstance})(definitions);

Package Sidebar

Install

npm i @smartlyio/oats-axios-adapter

Weekly Downloads

119

Version

7.4.7

License

MIT

Unpacked Size

19.1 kB

Total Files

16

Last publish

Collaborators

  • smartlyio