Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript HTML Shell
Branch: master
Pull request Compare This branch is 26 commits ahead of bkconrad:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bench
guide-dev
src
test
.gitignore
.jshintrc
.npmignore
.travis.yml
Jakefile
README.md
coverage.js
index.html
license.txt
package.json
pages.sh

README.md

Build Status NPM version

Wasabi

A simple then powerful replication library using binary encoding over WebSockets. Released under the MIT License.

npm install wasabi

The main advantages of using Wasabi are:

  • All data is tightly packed as binary rather than JSON, with user-specified precision.
  • You only need to write a single short function per class to start replicating
  • Replicated object lifetimes can be managed based on a "scope" callback which may be set for each client (or not at all)
  • Remote RPC invocation works exactly like local function calls
  • Prototypal inheritance is fully supported out-of-the-box
  • You can get started without much boilerplate, then define additional functions to increase performance when you become production-ready
  • Reliable construction: A well-rounded test suite with 100% branch coverage

Usage

For further reading, make sure to look at the Guide or the API Docs on GitHub, or build your own locally with jake doc.

Contact

If you have bug reports, feature requests, questions, or pull requests, drop by the github repo. If you have lavish praise or eloquent maledictions, email me at bkconrad@gmail.com.

Something went wrong with that request. Please try again.