mongo-crest-client
v1.2.0
Published
A simple isomorphic RESTful HTTP client for a mongo-crest-server
Downloads
7
Readme
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.