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();
})();

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
7.1.23latest

Version History

VersionDownloads (Last 7 Days)Published
7.1.23
7.1.12
7.1.02
7.0.42
7.0.32
7.0.26
7.0.12
7.0.02
6.3.02
6.2.02
6.1.02
6.0.22
6.0.12
6.0.02
5.7.02
5.6.02
5.5.02
5.4.02
5.3.02
5.2.02
5.1.02
5.0.02
4.2.02
4.1.02
4.0.02
3.0.02
2.0.07
1.0.02

Package Sidebar

Install

npm i http-instance

Weekly Downloads

66

Version

7.1.2

License

MIT

Unpacked Size

9.9 kB

Total Files

5

Last publish

Collaborators

  • watchdg