rapid-io

0.4.2 • Public • Published

logo


JavaScript client for Rapid.io realtime database

Website | Documentation | Reference

Build Status styled with prettier

What

Rapid.io is a cloud-hosted service that allows app developers to build realtime user interfaces without having to worry about the underlying infrastructure. It works as a non-relational data store accessible from a client-side code.

Why

Clients can create, update, delete and subscribe to a set of data and receive updates in realtime.

How

To include a library you can either use a npm package manager or include it directly trough a <script> tag.

Node.js / webpack / Browserify / Rollup

If you need a library for a server-side usage or you are using a module bundler, you can install it from npm:

yarn add rapid-io
npm install --save rapid-io
 

Then include the library:

import rapid from 'rapid-io' // ES6 modules
const rapid = require('rapid-io') // RequireJS

And use it:

const client = rapid.createClient(API_KEY)

Browser

Alternatively you can use a standalone UMD build for browsers. You can use fast and global unpkg CDN.

<script src=" https://unpkg.com/rapid-io/dist/rapid-io.umd.js"></script>
<script>
    const client = Rapid.createClient(API_KEY)
</script> 

See Getting Started for more information.

Caught a bug?

Open an issue.

License

The MIT License

Package Sidebar

Install

npm i rapid-io

Homepage

www.rapid.io

Weekly Downloads

1

Version

0.4.2

License

MIT

Last publish

Collaborators

  • prichodko