0.2.0 • Published 6 years ago

gigapaxos-client v0.2.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

Javascript client for Gigapaxos

This is a Javascript client for Gigapaxos.

Build Instructions

  1. Install NPM if needed
  2. Install webpack: npm install webpack -g (or locally in repo)
  3. Run npx webpack or npx webpack --mode development for quicker build without uglification
  4. gpClient.js is generated in dist folder

Usage

Include the generated file gpClient.js via script tag. Client functions can then be accessed using the global variable gpClient.

Running Example

Start Python server in base directory:

python3 -m http.server 13080

Open in browser: http://0.0.0.0:13080/usage_example/example.html