@flubpub/flub-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

flub-sdk

The client side SDK for utilizing the Flub API.

Features

  • [x] Convenient methods for interacting with Flub API
  • [x] Cross-platform support (browser, node, react)

Installation

Start by installing the package from npm:

npm install @flubpub/flub-sdk

Development

In node you can use the package like so:

import FlubSDK from '@flubpub/flub-sdk'

const FlubClient = new FlubSDK.Client({
    baseUrl: 'http://127.0.0.1:8787'
})

In the browser you can include the file in a <script> tag but more ideally you can use a bundler like webpack to include the package.

Package Sidebar

Install

npm i @flubpub/flub-sdk

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

78.7 kB

Total Files

26

Last publish

Collaborators

  • flubpub