neron
[![Build Status](https://travis-ci.org/avoronkin/neron.svg?branch=master)](https://travis-ci.org/avoronkin/neron)
Last updated 2 years ago by avoronkin .
ISC · Original npm · Tarball · package.json
$ cnpm install neron 
SYNC missed versions from official npm registry.

Build Status

const Neron = require('neron')

async function server () {
    const neron = await Neron('math')

    await neron.listen('sum', (a, b) => a + b)
}

server()

const Neron = require('neron')
const assert = require('assert')

async function client () {
    const neron = await Neron('math')

    await neron.listen('sum.result', function (result) {
        assert.equal(result, 5)
    })

    await neron.publish('sum?', 2, 3)
}

client()

Current Tags

  • 2.0.0                                ...           latest (2 years ago)

4 Versions

  • 2.0.0                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |