@mydevices/transporter

Transport published data between multiple services

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@mydevices/transporter
Minified + gzip package size for @mydevices/transporter in KB

Readme

transporter

Basic support for multiple transport between services for pushing data.

Example

const Transporter = require('transporter');

Transporter.add(Transporter.Redis, { host: 'localhost' });
Transporter.add(Transporter.Kinesis, { host: 'localhost' });

// will publish to Kinesis and Redis 
Transporter.publish('message 1', function(){
    //callback
});

Adapters

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.