thin RXJS abstraction layer for pouchDB with
read
and write
RXJS operators.
example
a live version of this example can be viewed here in the browser console, or by cloning this repository and running the following commands from a terminal:
npm installnpm run example
the files of this example are available in this repository.
debug.enable'example:*,rx-pouchdb:*' // rx-pouchdb uses `debug` // write docs to vault // read docs from vault // search Rob Hubbard tunes write$.forEachdebug'example:write:'.catchdebug'example:write:error:'.thenread$.forEachdebug'example:read:'.catchdebug'example:read:error:'.thensearch$.forEachdebug'example:search:'.catchdebug'example:search:error:'.thendb.destroy.thendebug'example:destroy:done'.catchdebug'example:destroy:error:'
API v1.0 experimental
ES5
and Typescript
compatible.
Coded in Typescript 2
.
run the unit tests in your browser.
CONTRIBUTING
see the contribution guidelines
LICENSE
Copyright 2017 Stéphane M. Catala
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and Limitations under the License.