@mydevices/pubsub-transporter

Google Cloud PubSub for transporter

Stats

StarsIssuesVersionUpdatedCreatedSize
@mydevices/pubsub-transporter
1.0.23 years ago3 years agoMinified + gzip package size for @mydevices/pubsub-transporter in KB

Readme

PubSub Transporter

Google Cloud PubSub for transporter

Usage

const Transporter = require('@mydevices/transporter');
const CloudPubSub = require('@mydevices/pubsub-transporter').CloudPubSub;

Transporter.add(CloudPubSub, {
    topic: 'projects/myproject/topics',
    projectId: 'myproject-id',
    credentialsFile: '/path/to/credentials.json'
});

Transporter.publish( { hello: "world" } );

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.