This package has been deprecated

Author message:

I wrote this module a very long time ago; you should use something else.

godot-npm-publish-producer

0.0.0 • Public • Published

godot-npm-publish-producer

This is a godot producer that wraps npm-publish-stream.

Example:

var godot = require('godot'),
    NpmPublishProducer = require('./index');

godot.createClient({
  type: 'tcp',
  producers: [
    new NpmPublishProducer({
      service: 'npm/publish/stream',
      description: 'npm publish events',
      ttl: 5000
    })
  ]
}).connect(1337);

API:

NpmPublishProducer(options)

Returns a producer. Options are passed to both godot and npm-publish stream.

Using npm-publish-stream's "startTime" is not recommended, since there is currently not a good way to detect when the stream has "caught-up" with real-time, meaning that the metric, which is publishes per second, will be wildly inaccurate.

License:

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i godot-npm-publish-producer

Weekly Downloads

0

Version

0.0.0

License

MIT

Last publish

Collaborators

  • jfhbrook