@fhg-test/rest
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

rest

API Client

Installation

Use the package manager to install @fhg-test/rest

yarn add @fhg-test/rest

Usage

// initialize API Client
import rest from '@fhg-test/rest';
rest.init('http://localhost:9000/api');

// make a request
import * as rest from '@fhg-test/rest';
(async () => {
  const booking = await rest.bookings.get('123');
})();

Authors

Phat Pham

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.5.10latest

Version History

VersionDownloads (Last 7 Days)Published
0.5.10
0.5.00
0.4.20
0.4.10
0.4.00
0.3.00
0.2.00
0.1.00

Package Sidebar

Install

npm i @fhg-test/rest

Weekly Downloads

0

Version

0.5.1

License

MIT

Unpacked Size

70 kB

Total Files

21

Last publish

Collaborators

  • phatpham9