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

0.0.3 • Public • Published

Bkpk JavaScript SDK

BasicUsage

import Bkpk from '@bkpk/sdk'

const bkpk = new Bkpk('Your Client ID')

// Store these in localStorage or elsewhere for later
const { token, expiresAt } = await bkpk.authorize()

const avatars = await bkpk.getAvatars()
const avatar = await bkpk.getDefaultAvatar()

/@metaverse-backpack/backpack-js-sdk/

    Package Sidebar

    Install

    npm i @metaverse-backpack/backpack-js-sdk

    Weekly Downloads

    0

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    22.7 kB

    Total Files

    12

    Last publish

    Collaborators

    • pl-tobias-petrasch