1.3.0 • Published 9 years ago

jupiter v1.3.0

Weekly downloads
38
License
MIT
Repository
github
Last release
9 years ago

Jupiter JS

npm install jupiter

Build Status Coverage Status Dep Status

Jupiter is a light-weight and simple to use Publish/Subscribe library for JavaScript. It's designed to work with both AMD & CommonJS and sports a clean, intuitive API.

Quick example:

foo.js

// Set the topic `someTopic` as a variable.
var someTopic = jupiter('someTopic');

// Utilize the variable to subscribe a function...
someTopic.sub(function(arg){
    console.log(arg);
});

bar.js

// Again, set the topic `someTopic` as a variable.
var someTopic = jupiter('someTopic');

// Utilize the variable to publish to a function...
someTopic.pub('Console should log this topic');

For more examples & documentation, see Jupiter's homepage.

1.3.0

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago