1.0.3 • Published 3 years ago

fmt-api-client v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Features

  • Tiny size
  • Built-in Typescript support
  • Easly create API requests

Installation

npm i fmt-api-client

Or

yarn add fmt-api-client

Usage

Import fmt-api-client module in your project and initialize it optionally with your baseUrl, token & locale.

import FMT from "fmt-api-client";

const FmtClient = new FMT({ token: "token", locale: "en" });

FmtClient.getOwners().then((data) => {
  console.log(data);
});

FmtClient.getTrucks().then((data) => {
  console.log(data);
});
1.0.2

3 years ago

1.0.0

3 years ago

1.0.3

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago