npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

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

Keywords

none

install

npm i godot-npm-publish-producer

Downloadsweekly downloads

4

version

0.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability