0.1.14 • Published 5 months ago

resilientdb-javascript-sdk v0.1.14

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

resilientdb-javascript-sdk

Authors: Christopher Chen, Jamie Hsi, Samuel Li, Shrey Gupta, Tyler Beer

NPM Registry Link: https://www.npmjs.com/package/resilientdb-javascript-sdk

This repo holds the source code for the ResilientDB JavaScript SDK. It's meant to communicate with the GraphQL server and provide a simple and easy to use interface for JavaScript applications.

Install

npm install resilientdb-javascript-sdk

How to Use

import { ResilientDB, FetchClient } from '../../';

const client = new ResilientDB("https://cloud.resilientdb.com", new FetchClient());

Available Clients

Fetch

const client = new ResilientDB("https://cloud.resilientdb.com", new FetchClient());

Axios

const client = new ResilientDB("https://cloud.resilientdb.com", new AxiosClient());

Demo

The demo project is under the demo folder at the root of this repository. To run:

cd demo

npm install
npm run dev

Then open in your browser the dev sever that starts

How to clone repository

git clone https://github.com/samuelili/resilientdb-javascript-sdk.git

How to push a new version of the npm package

npm login # first time only

npm run test # make sure tests pass
npm run build # build to ./dist
npm publish # publish to npm registry
0.1.14

5 months ago

0.1.13

5 months ago

0.1.12

5 months ago

0.1.11

5 months ago

0.1.10

5 months ago

0.1.9

5 months ago

0.1.8

5 months ago

0.1.7

5 months ago

0.1.6

5 months ago

0.1.5

5 months ago

0.0.4

5 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago