Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 558 Bytes

File metadata and controls

32 lines (21 loc) · 558 Bytes

Install

npm

To install rxdb and its dependencies and save it to your package.json, run:

npm i rxdb rxjs babel-polyfill --save

import

To import rxdb, add this to your javascript file:

// es6
import * as RxDB from 'rxdb';

// es5
var rxdb = require('rxdb');

In most cases, you also have to import babel-polyfill. To do this, add the following to your javascript file:

// es6
import 'babel-polyfill';

// es5
require('babel-polyfill');

If you are new to RxDB, you should continue here