@shorthandai/react
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

shorthandai

This package provides a Javascript SDK for working with the ShorthandAI in React.

Installation

$ npm install --save @shorthandai/react
$ yarn add @shorthandai/react

Usage

import { useShorthandValue } from '@shorthandai/react'

const { value, loading, error } = useShorthandValue('demo123', {
    token: 'demo',
    lazy: false,
    pollIntervalMS: 0,
})

Readme

Keywords

none

Package Sidebar

Install

npm i @shorthandai/react

Weekly Downloads

4

Version

0.0.6

License

MIT

Unpacked Size

10.2 kB

Total Files

7

Last publish

Collaborators

  • shorthandadmin