http-instance
TypeScript icon, indicating that this package has built-in type declarations

7.1.2 • Public • Published

http-instance

http-instance

import { HttpInstance } from 'http-instance';

(async () => {
  const instance = new HttpInstance({
    baseUrl: 'http://google.com'
  });
  const { status, headers, data } = (await instance.get('/')).unwrap();
})();

Readme

Keywords

Package Sidebar

Install

npm i http-instance

Weekly Downloads

3

Version

7.1.2

License

MIT

Unpacked Size

9.9 kB

Total Files

5

Last publish

Collaborators

  • watchdg