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

1.65.4 • Public • Published

Axios

Axios OOP static interface

Examples:

import { Axios } from '@biorate/axios';

class Yandex extends Axios {
  public baseURL = 'https://yandex.ru';
}

(async () => {
  const response = await Yandex.fetch<string>();
  console.log(response.status); // 200
  console.log(response.data); // <!DOCTYPE html><html ...
})();

Learn

  • Documentation can be found here - docs.

Release History

See the CHANGELOG

License

MIT

Copyright (c) 2021-present Leonid Levkin (llevkin)

Readme

Keywords

Package Sidebar

Install

npm i @biorate/axios

Weekly Downloads

5

Version

1.65.4

License

MIT

Unpacked Size

149 kB

Total Files

30

Last publish

Collaborators

  • llevkin