ht-js-fetch-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

Ht Fetch Client

Installation

npm i ht-js-fetch-client

Peer dependencies that are needed

npm i whatwg-fetch
npm i ht-js-client
npm i ht-js-utils
npm i underscore
npm i moment-mini

Usage

import { HtFetchClient } from "ht-js-fetch-client";
import 'whatwg-fetch'

const fetch = new HtFetchClient(<SECRET_KEY>)

fetch.action.index({page_size: 10}) //actions list
fetch.action.get(id: string) // action with id
fetch.actions.overview(query: object) //actions overview

Readme

Keywords

none

Package Sidebar

Install

npm i ht-js-fetch-client

Weekly Downloads

1

Version

0.0.0

License

ISC

Last publish

Collaborators

  • gaurav.mk