# topic-patterns

> A utility for matching strings to AMQP-style topic patterns and url templates.

Latest version **0.0.3** (published 2015-07-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install topic-patterns
pnpm add topic-patterns
yarn add topic-patterns
bun add topic-patterns
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-07-08 |
| First published | 2015-06-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Adedayo Omitayo |
| Maintainers | aomitayo |
| Keywords | amqp, topic, url, templates |

## Links

- npm: https://www.npmjs.com/package/topic-patterns
- Repository: https://github.com/Aomitayo/topic-patterns
- Issues: https://github.com/Aomitayo/topic-patterns/issues
- npm.io page: https://npm.io/package/topic-patterns

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2015-07-08
- 0.0.2 — 2015-06-18
- 0.0.1 — 2015-06-18

## README

# topic-patterns

A utility for matching strings to AMQP-style topic patterns and url templates.


## Installation

```
npm install topic-patterns
```

## Usage
```
var topicPatterns = require('topic-patterns');

var pattern = topicPatterns('#.nyse.*');

pattern.match('stock.nyse.google');			//returns true

pattern.match('stock.tokyo.google');			//returns false

```

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## History

TODO: Write history

## Credits

Adedayo Omitayo 
	- https://github.com/Aomitayo

## License

[MIT](LICENSE)

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