murder

0.0.0 • Public • Published

MURDER README

lib/index.js > README.md

A murder is a group of highly intelligent birds that are known to visually recognize humans. They will transmit information about humans by squawking.

wercker status

Stories in Ready

NOTE: If you are viewing this from GitHub or NPM, try viewing it from the documentation site

Murder is based mainly on Swarm. I wanted an easier API, and better documentation. I also wanted the code to be much simpler than Swarm, like the crdt npm module. I also wanted state changes to acknowledge that they've been distributed with promises.

NOTE: Existing source adapters are implemented against node modules that are written in pure JavaScript so that they do not require a compile step. This was done to make murder more portable. It is easy to write custom source adapters that use modules which depend on compiled extensions.

Docs

API methods are specified in the documentation in two ways:

  1. Object.method() -- Describes a class level method or a module method.
  2. Object:method() -- Describes a method on the prototype of the Object. This is a shorthand for Object.prototype.method() in the documentation.
var myDocument = new Model('id', 'author', [localStorage, remoteSource]);
myDocument.sync().then(function () {
  myDocument.change({key: 'value'}).then(function () {
    console.log('done');
  });
});

This project is designed to run on a Tessel. In order to meet this requirement no compiled dependencies are used.

ISC LICENSE

Copyright (c) 2015, Roland Poulter rolandpoulter@gmail.com

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Readme

Keywords

none

Package Sidebar

Install

npm i murder

Weekly Downloads

1

Version

0.0.0

License

ISC

Last publish

Collaborators

  • rolandpoulter