Socket
Book a DemoInstallSign in
Socket

eip-mongo

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eip-mongo

Mongodb Adapter for the eip module. It supports an aggregator store saved in mongodb.

0.2.0
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

eip-mongo

Enterprise Integration Patterns for javascript mongodb adapter.

Create a mongodb store to be used in aggregator that is using mongodb to store aggregations. Aggregate events through many nodes.

Dependencies

In order for this module to work a mongoose connection is required. Make sure you connect to mongo using mongoose > 4.0.0

Installation

npm install --save eip-mongo

Usage

const eip = require('eip');
const { Store } = require('eip-mongo')
const store = new Store(3600) // ttl to delete from mongo after 3600 sec
const aggregator = new eip.Route().aggregate({ store });

License

MIT

FAQs

Package last updated on 17 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.