Skip to content
This repository has been archived by the owner on May 19, 2019. It is now read-only.
/ marsdb-localstorage Public archive

LocalStorage storage implementation for MarsDB

License

Notifications You must be signed in to change notification settings

c58/marsdb-localstorage

Repository files navigation

MarsDB-LocalStorage

Build Status npm version Dependency Status

MarsDB storage implementation for LocalStorage.

Usage

import Collection from ‘marsdb’;
import LocalStorageManager from 'marsdb-localstorage';

// Setup different storage managers
Collection.defaultStorageManager(LocalStorageManager);

const users = new Collection(‘users’);

Contributing

I’m waiting for your pull requests and issues. Don’t forget to execute gulp lint before requesting. Accepted only requests without errors.

License

See License