commit | 43c8ba6b8efdc32ab1e179419c7d26c50190ab6e | [log] [tgz] |
---|---|---|
author | Nicolas Lacasse <nlacasse@google.com> | Mon Sep 14 14:58:16 2015 -0700 |
committer | Nicolas Lacasse <nlacasse@google.com> | Mon Sep 14 14:58:16 2015 -0700 |
tree | 2a0d2e0262497960bf8f33d4f769bc4a919c77db | |
parent | e00414a84bc4eb32fe4612f3275f824912a44b45 [diff] |
TBR: js.syncbase: Add '/.jiri' to .gitignore in all repos. Change-Id: I9cdc73271226ddcbab7f417863ffada64bd51cea MultiPart: 13/28 PresubmitTest: none
This repository defines the JavaScript API for Syncbase, a structured store that supports peer-to-peer synchronization.
The client APIs defined here work both in Node.js and the browser.
Since Vanadium is currently hosted in private repositories, you would need to [setup SSH keys for Github] (https://help.github.com/articles/generating-ssh-keys/) first and then use npm to install directly from GitHub:
npm install --save git+ssh://git@github.com:vanadium/js.syncbase.git
currently vanadium.js
needs to be installed manually as well:
npm install --save git+ssh://git@github.com:vanadium/js.git
Documentation for this API is [TODO(aghassemi)](LINK TO JS DOCUMENTATION)
Tutorials can be found at [TODO(aghassemi)](LINK TO JS TUTORIAL FOR SYNCBASE)
The entry point to the API is through a module called syncbase
, everything else is considered private and should not be accessed by the users of the API.
When using Browserify or Node.js users can gain access to the API with:
var syncbase = require("syncbase");
When run in a browser, sycnbase expects that the vanadium extension will be installed.
Bugs and feature requests should be filed in the Vanadium issue tracker.
GNU Make is used to build and test Syncbase.
Build everything:
make
Test everything:
make test
Run a specific test suite:
make test-integration make test-integration-node make test-integration-browser
Remove all build and testing artifacts:
make clean