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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i godot-npm-publish-producer

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • jfhbrook