NODE-DOCUMENT-STORAGE
Storage adapter interface for node-document ODM for Node.js.
About
Unified interface for write/read data to/from differen kinds of storages/databases.
Adapters
- Global Memory
- FS FileSystem
- NStore Memory/File/Process
- Memcached
- Redis
- KyotoCabinet
- MongoDB
- CouchDB
- Riak
- ElasticSearch
- AmazonS3
API
#set
-
(keys, values, [callback(err, res)])
storage; -
(keys_values, [callback(err, res)])
storage;
#get
-
(keys, [callback(err, res)])
storage;
#del
-
(keys, [callback(err, res)])
storage;
#exists
-
(keys, [callback(err, res)])
storage;
Installation
$ npm install node-document-storage
Test
Local tests:
$ make test
License
Released under the MIT license.
Copyright (c) Jonas Grimfelt