0.0.6 • Published 5 months ago

@shorthandai/web v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

shorthandai

This package provides a Javascript SDK for working with the ShorthandAI platform. Compatible with both node and the browser.

Installation

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

Usage

const token = 'sh-some-token-here'
const SH = ShorthandValue({ token })
console.log(await SH.get('CAH:MLR:2025Y'))

console.log(await SH.set('demomat', [[0,1,2], [3,4,5]]))
console.log(await SH.set('demovect', [4,5,6]))
console.log(await SH.set('demoscalar', 100))

console.log(await SH.get('demomat'))
console.log(await SH.get('demovect'))
console.log(await SH.get('demoscalar'))
0.0.6

5 months ago

0.0.3

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.2

1 year ago

0.0.1

1 year ago