Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
README.md
package.json
test.js

README.md

node-eventer

A node.js module for Easy Pub/Sub events:

$ npm install node-eventer

Then import it into your project:

//Initilze The Node Eventer
var nodeEventer = require('node-eventer').init();

//Subscribe from any piece of your code
nodeEventer.subscribe('helloworld', function(data){
    console.log('received Data ==>', data); 
});

//Then Publish a message to the Event key 'Helloworld'
nodeEventer.publish('helloworld', {"message": " This is the JSON Message"});
Something went wrong with that request. Please try again.