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

0.4.0 • Public • Published

@hamsterbase/sdk

sdk of hamsterbase

Install

npm i @hamsterbase/sdk --save

How to use

node

require('isomorphic-fetch');
const { HamsterBase } = require('@hamsterbase/sdk');

const client = new HamsterBase({
  token: 'token',
  endpoint: 'endpoint',
});

client.webpages.list().then((res) => {
  console.log(`fetch ${res.webpages.length} webpages`);
});

/@hamsterbase/sdk/

    Package Sidebar

    Install

    npm i @hamsterbase/sdk

    Weekly Downloads

    0

    Version

    0.4.0

    License

    MIT

    Unpacked Size

    36.1 kB

    Total Files

    33

    Last publish

    Collaborators

    • hamsterbaseops