@or-sdk/key-value-storage
TypeScript icon, indicating that this package has built-in type declarations

0.27.1 • Public • Published

Installation:

$ npm i @or-sdk/key-value-storage

Usage:

import { KeyValueStorage } from '@or-sdk/key-value-storage'

// with direct api url
const keyValueStorage = new KeyValueStorage({
  token: 'my-account-token-string',
  sdkUrl: 'http://example.key-value-storage/endpoint'
});

// with service discovery(slower)
const keyValueStorage = new KeyValueStorage({
  token: 'my-account-token-string',
  discoveryUrl: 'http://example.key-value-storage/endpoint'
});

Readme

Keywords

none

Package Sidebar

Install

npm i @or-sdk/key-value-storage

Weekly Downloads

953

Version

0.27.1

License

Apache-2.0

Unpacked Size

90.9 kB

Total Files

49

Last publish

Collaborators

  • onereach.user
  • onereach.admin