sistorage-client
v1.1.0
Published
SIStorage Service web client
Downloads
54
Readme
SIStorage service web client.
Install
npm install sistorage-client
Example usage
import SIStorageClient from 'sistorage-client';
const client = new SIStorageClient({ serviceUri: '<insert service address here>' });
// Get required facet values
const authors = await client.facets.getAuthorsAsync();
// Search package by filters
const packages = await client.packages.getPackagesAsync({ authorId: authors[0] }, { count: 5 });