npm.io
1.2.0 • Published 8 years ago

mongo-crest-client

Licence
MIT
Version
1.2.0
Deps
0
Vulns
0
Weekly
0

Installation

npm i mongo-crest-client

Usage

const mongocrest = require('mongo-crest-client');

mongocrest.url = '';

mongocrest.read('contacts', {
    name: {
        $regex: "^A"
    }
}
, (results)=> console.log(results));

About

This is a client package for mongo-crest-server. An instance of that server needs to be hosted. You can then connect to the url by setting the property on a mongo-crest-client instance.