# jupiter

> Simple, minimal & dependency-free JavaScript Publish/Subscribe

Latest version **1.3.0** (published 2015-03-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install jupiter
pnpm add jupiter
yarn add jupiter
bun add jupiter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2015-03-25 |
| First published | 2014-11-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Matt Jordan |
| Maintainers | majordan |
| Keywords | Pub/Sub, pubsub, publish, subscribe, event |

## Links

- npm: https://www.npmjs.com/package/jupiter
- Repository: git@github.com:mbjordan/JupiterJS
- Homepage: http://honyovk.com/JupiterJS/
- Issues: https://github.com/mbjordan/JupiterJS/issues
- npm.io page: https://npm.io/package/jupiter

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 1.3.0 (latest) — 2015-03-25
- 1.2.1 — 2015-02-17
- 1.2.0 — 2014-11-12
- 1.1.1 — 2014-11-05
- 1.1.0 — 2014-11-04
- 1.0.1 — 2014-11-03

## README

## Jupiter JS

[![npm install jupiter](https://nodei.co/npm/jupiter.png?downloads=true)](https://www.npmjs.org/package/jupiter)

[![Build Status](https://travis-ci.org/mbjordan/JupiterJS.svg?branch=master)](https://travis-ci.org/mbjordan/JupiterJS)
[![Coverage Status](https://img.shields.io/coveralls/mbjordan/JupiterJS.svg)](https://coveralls.io/r/mbjordan/JupiterJS?branch=master)
![Dep Status](https://david-dm.org/mbjordan/JupiterJS.svg)

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**

```javascript
// 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**

```javascript
// 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](http://honyovk.com/JupiterJS/).

---
_Source: https://npm.io/package/jupiter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
