da-mongo-rx

Thin layer on top of mongojs library exposes RxJS interfaces.

Usage no npm install needed!

<script type="module">
  import daMongoRx from 'https://cdn.skypack.dev/da-mongo-rx';
</script>

README

Mongo-Rx

Build Status

Thin layer on top of mongojs library exposes RxJS interfaces.

Contains typeScript defintion files.

Documentation

Test

Set up uri for test db

  • In .npmrc set MONGO_URI=xxx, higest priority
  • In package.json field config.MONGO_URI (defualt 127.0.0.1)

Run test

npm test

Development

Project contians tasks file for Visual Studio Code

  • Build - run tsc, same as npm run-task build
  • Test - run mocha, same as npm test

For some reason VS Code take quite a time to start build, usually watch rebuild proccess via tsc -w work much faster.

This way use tsc -w in console and then run test task manually, when neccessary.

Documentation

Generate typedoc ./src/mongo-rx.ts