open-index/open-npm huggingface dataset:
npm package: @robotlegsjs/eventemitter3
Description: RobotlegsJS integration with EventEmitter3
Author: RobotlegsJS
Latest version: 3.1.0

# RobotlegsJS EventEmitter3

[![GitHub license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobotlegsJS/RobotlegsJS-Framework/tree/master/packages/eventemitter3/LICENSE)
[![Gitter chat](https://badges.gitter.im/RobotlegsJS/RobotlegsJS.svg)](https://gitter.im/RobotlegsJS/RobotlegsJS)
[![npm version](https://badge.fury.io/js/%40robotlegsjs%2Feventemitter3.svg)](https://badge.fury.io/js/%40robotlegsjs%2Feventemitter3)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

## Installation

You can get the latest release and the type definitions using [NPM](https://www.npmjs.com/):

```bash
npm install @robotlegsjs/eventemitter3 --save
```

Or using [Yarn](https://yarnpkg.com/en/):

```bash
yarn add @robotlegsjs/eventemitter3
````

The [EventEmitter3](https://github.com/primus/eventemitter3) dependency is added as **peerDependencies**,
allowing the final user to choose the desired version of the [eventemitter3](https://www.npmjs.com/package/eventemitter3) library on each project.

The `@robotlegsjs/eventemitter3` package is compatible with any version of `eventemitter3` library.

As example, when you would like to use the version `3.1.0` of `eventemitter3` library, you can run:

```bash
npm install eventemitter3@3.1.0 reflect-metadata --save
```

or

```bash
yarn add eventemitter3@3.1.0 reflect-metadata
```

Then follow the [installation instructions](https://github.com/RobotlegsJS/RobotlegsJS-Framework/tree/master/packages/core#installation) of **RobotlegsJS** library to complete the setup of your project.

**Dependencies**

+ [RobotlegsJS](https://github.com/RobotlegsJS/RobotlegsJS-Framework/tree/master/packages/core)
+ [tslib](https://github.com/Microsoft/tslib)

**Peer Dependencies**

+ [eventemitter3](https://github.com/primus/eventemitter3)
+ [reflect-metadata](https://github.com/rbuckton/reflect-metadata)

## RobotlegsJS EventEmitter3 for enterprise

Available as part of the Tidelift Subscription

The maintainers of [@robotlegsjs/eventemitter3](https://github.com/RobotlegsJS/RobotlegsJS-Framework/tree/master/packages/eventemitter3) and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-robotlegsjs-eventemitter3?utm_source=npm-robotlegsjs-eventemitter3&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

## License

[MIT](LICENSE)
npm package: @robotlegsjs/phaser-signalcommandmap
Description: SignalCommandMap RobotlegsJS Extension that maps Phaser.Signal class into commands
Author: RobotlegsJS
Latest version: 0.0.5

RobotlegsJS Phaser SignalCommandMap Extension
===

[![Gitter chat](https://badges.gitter.im/RobotlegsJS/RobotlegsJS.svg)](https://gitter.im/RobotlegsJS/RobotlegsJS)
[![Build Status](https://secure.travis-ci.org/RobotlegsJS/RobotlegsJS-Phaser-SignalCommandMap.svg?branch=master)](https://travis-ci.org/RobotlegsJS/RobotlegsJS-Phaser-SignalCommandMap)
[![codebeat badge](https://codebeat.co/badges/c8db23f8-561c-4839-9f74-1d704e27fadb)](https://codebeat.co/projects/github-com-robotlegsjs-robotlegsjs-phaser-signalcommandmap-master)
[![Test Coverage](https://codeclimate.com/github/RobotlegsJS/RobotlegsJS-Phaser-SignalCommandMap/badges/coverage.svg)](https://codeclimate.com/github/RobotlegsJS/RobotlegsJS-Phaser-SignalCommandMap/coverage)
[![npm version](https://badge.fury.io/js/%40robotlegsjs%2Fphaser-signalcommandmap.svg)](https://badge.fury.io/js/%40robotlegsjs%2Fphaser-signalcommandmap)
[![Greenkeeper badge](https://badges.greenkeeper.io/RobotlegsJS/RobotlegsJS-Phaser-SignalCommandMap.svg)](https://greenkeeper.io/)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

A RobotlegsJS Extension that allows the mapping of Phaser.Signal class to commands.
npm package: @robotlegsjs/signalcommandmap
Description: TypeScript port of Robotlegs Extensions SignalCommandMap
Author: RobotlegsJS
Latest version: 3.1.0

# RobotlegsJS SignalCommandMap Extension

[![GitHub license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobotlegsJS/RobotlegsJS-Framework/tree/master/packages/signalcommandmap/LICENSE)
[![Gitter chat](https://badges.gitter.im/RobotlegsJS/RobotlegsJS.svg)](https://gitter.im/RobotlegsJS/RobotlegsJS)
[![npm version](https://badge.fury.io/js/%40robotlegsjs%2Fsignalcommandmap.svg)](https://badge.fury.io/js/%40robotlegsjs%2Fsignalcommandmap)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

A port of Robotlegs Extensions SignalCommandMap to TypeScript.

## RobotlegsJS SignalCommandMap for enterprise

Available as part of the Tidelift Subscription

The maintainers of [@robotlegsjs/signalcommandmap](https://github.com/RobotlegsJS/RobotlegsJS-Framework/tree/master/packages/signalcommandmap) and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-robotlegsjs-signalcommandmap?utm_source=npm-robotlegsjs-signalcommandmap&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

## License

[MIT](LICENSE)
npm package: @robotlegsjs/signals
Description: TypeScript port of AS3 Signals.
Author: RobotlegsJS
Latest version: 2.1.0

SignalsJS
===

[![GitHub license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobotlegsJS/RobotlegsJS-Framework/tree/master/packages/signals/LICENSE)
[![Gitter chat](https://badges.gitter.im/RobotlegsJS/RobotlegsJS.svg)](https://gitter.im/RobotlegsJS/RobotlegsJS)
[![npm version](https://badge.fury.io/js/%40robotlegsjs%2Fsignals.svg)](https://badge.fury.io/js/%40robotlegsjs%2Fsignals)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

**SignalsJS** is a [TypeScript](https://www.typescriptlang.org/) port of [AS3 Signals](https://github.com/robertpenner/as3-signals).
[15KB compressed](dist/signals.min.js).

About
---

**Signals** are light-weight, strongly-typed messaging tools.
Wire your application with better APIs and less boilerplate than normal event systems.

Concept
---

* A **Signal** is essentially a mini-dispatcher specific to one event, with its own array of listeners.
* A **Signal** gives an event a concrete membership in a class.
* Listeners subscribe to real objects, not to string-based channels.
* Event string constants are no longer needed.
* **Signals** was originally implemented by [Robert Penner](https://github.com/robertpenner) in [AS3](https://github.com/robertpenner/as3-signals).
* **Signals** are inspired by [C# events](http://en.wikipedia.org/wiki/C_Sharp_syntax#Events) and [signals/slots](http://en.wikipedia.org/wiki/Signals_and_slots) in Qt.

Syntax
---

```typescript
// with DOM EventListener
button.addEventListener("click", onClick);

// Signal equivalent; past tense is recommended
button.clicked.add(onClicked);
```

Installation
---

You can get the latest release and the type definitions using [NPM](https://www.npmjs.com/):

```bash
npm install @robotlegsjs/signals
```

Or using [Yarn](https://yarnpkg.com/en/):

```bash
yarn add @robotlegsjs/signals
```

Usage
---

```typescript
import { Signal } from "@robotlegsjs/signals";

let signal = new Signal();

signal.add(data => {
    console.log(data.message);
});

signal.dispatch({ message: "hello signal!" });
```

SignalsJS for enterprise
---

Available as part of the Tidelift Subscription

The maintainers of [@robotlegsjs/signals](https://github.com/RobotlegsJS/RobotlegsJS-Framework/tree/master/packages/signals) and thousands of other packages are working with **Tidelift** to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-robotlegsjs-signals?utm_source=npm-robotlegsjs-signals&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

License
---

[MIT](LICENSE)