1.0.0 • Published 4 years ago

rico v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Rico

Store and sync data in realtime

Current version: 0.0.0 (preview release)

Introduction

Rico is a noBackend platform for data storage and synchronization. It allows you to build expressive, realtime applications with only client-side code.

Quickstart

Install for webpack and Browserify:

npm install rico

Sync with backend:

var Rico = require("rico");

var messages = new Rico("http://example.com/chat/messages");

messages
    .sortBy("-createdAt")
    .slice(0, 10)
    .on("add", message => render(message));

messages.push({
    createdAt: Date.now(),
    from: "John Smith",
    message: "Hello world!"
});

Made with <3 by all4back