# wildcards

> emitter wildcard support

Latest version **1.0.2** (published 2014-04-10) · MIT license · 0 weekly downloads

## Install

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

## 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.0.2 |
| Published | 2014-04-10 |
| First published | 2013-12-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 57 |
| Maintainers | tjholowaychuk |
| Keywords | events, emitter, wildcard |

## Links

- npm: https://www.npmjs.com/package/wildcards
- Repository: https://github.com/segmentio/wildcards
- Issues: https://github.com/segmentio/wildcards/issues
- npm.io page: https://npm.io/package/wildcards

## Dependencies (1)

- [escape-regexp](https://npm.io/package/escape-regexp.md) 0.0.1

## 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.2 (latest) — 2014-04-10
- 1.0.1 — 2013-12-14
- 1.0.0 — 2013-12-11
- 0.0.1 — 2013-12-11

## README

# wildcards

  Wildcard event-emitter proxy for nodejs.

## Installation

```
$ npm install wildcards
$ component install segmentio/wildcards
```

## Example

```js
var Emitter = require('events').EventEmitter;
var events = require('wildcards');

var app = new Emitter;

events(app, 'user:*', function(event, user){
  console.log('  %s %s', event, user);
});

app.emit('foo');
app.emit('bar');
app.emit('user:logout', 'tobi');
app.emit('user:login', 'loki');
app.emit('user:login', 'jane');
```

 Yielding:

```
user:logout tobi
user:login loki
user:login jane
```

# License

  MIT

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