Nitrogen Peroxide Monoxide
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    seneca-nsq-transportpublic

    seneca-nsq-transport - a Seneca plugin

    Seneca Nsq.io Transport Plugin

    This plugin provides the Nsq.io pub/sub transport channel for micro-service messages. This lets you send broadcast messsages via Nsq.io.

    For a gentle introduction to Seneca itself, see the senecajs.org site.

    If you're using this plugin module, feel free to contact me on twitter if you have any questions! :) @luisfaustino

    Current Version: 1.0.0

    Tested on: Seneca 0.6.1, Node 0.12.0

    Install

    npm install seneca-nsq-transport

    You'll also need nsq.

    Quick Example

    require('seneca')()
      .use('nsq-transport')
      .add('foo:two',function(args,done){ done(null,{bar:args.bar}) })
      .client( {type:'nsq',pin:'foo:one,bar:*'} )
      .listen( {type:'nsq',pin:'foo:two,bar:*'} )

    install

    npm i seneca-nsq-transport

    Downloadslast 7 days

    28

    version

    1.0.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar