# walky-talky

> A tiny JS library to create a message channel using Publish/Subscribe pattern

Latest version **1.0.0** (published 2018-01-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install walky-talky
pnpm add walky-talky
yarn add walky-talky
bun add walky-talky
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-01-09 |
| First published | 2018-01-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kamlesh Chandnani |
| Maintainers | kamleshchandnani |
| Keywords | utils, message, connect, communicate, eventbus, pubsub |

## Links

- npm: https://www.npmjs.com/package/walky-talky
- Repository: https://github.com/kamleshchandnani/walky-talky
- Homepage: https://github.com/kamleshchandnani/walky-talky#readme
- Issues: https://github.com/kamleshchandnani/walky-talky/issues
- npm.io page: https://npm.io/package/walky-talky

## 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.0.0 (latest) — 2018-01-09

## README

# walky-talky

<p align="center">
  <img src="https://user-images.githubusercontent.com/11384858/34708235-b9f905d6-f537-11e7-8068-433761706f91.png" />
  <br>
</p>

EventListeners can easily go out of hand if not used with utmost care, walky-talky is a tiny JS library to create a message channel using Publish/Subscribe pattern.

## Installation

```
yarn add walky-talky
```

or

```
npm install walky-talky --save
```

## Usage

```js
// module.js
import WalkyTalky from "walky-talky";
actionHandler = dataObject => {
  // some logic
};
// subscribe to a custom action type
WalkyTalky.subscribe("ACTION_TYPE", actionHandler);

// app.js
import WalkyTalky from "walky-talky";
// publish the action type with the data object
WalkyTalky.publish("ACTION_TYPE", dataObject);
```

## Like it?

:star: this repo

## License

MIT © [Kamlesh Chandnani](https://github.com/kamleshchandnani)

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