@biorate/axios
v1.93.1
Published
Axios OOP static interface
Downloads
958
Readme
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
Copyright (c) 2021-present Leonid Levkin (llevkin)