# tiny-url-regex

> A regex library for url routing.

Latest version **1.0.4** (published 2015-07-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install tiny-url-regex
pnpm add tiny-url-regex
yarn add tiny-url-regex
bun add tiny-url-regex
```

## 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.4 |
| Published | 2015-07-19 |
| First published | 2015-06-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Dylan Conrad Johnson |
| Maintainers | djohnson |

## Links

- npm: https://www.npmjs.com/package/tiny-url-regex
- Repository: https://github.com/dcjohnson/url-regex
- Homepage: https://github.com/dcjohnson/url-regex#readme
- Issues: https://github.com/dcjohnson/url-regex/issues
- npm.io page: https://npm.io/package/tiny-url-regex

## Recent versions

- 1.0.4 (latest) — 2015-07-19
- 1.0.3 — 2015-07-19
- 1.0.2 — 2015-07-02
- 1.0.1 — 2015-07-02
- 1.0.0 — 2015-06-23

## README

# url-regex
A small node.js regex library for a url router.

#example

```js
var regex = require('tiny-url-regex');
var ndfa = regex.Ndfa('abc[ae](1|3)w'); // Any valid regex rule.
ndfa.generateStates();
var isValid = ndfa.testString('abcaeaeaeeea3w'); // valid
var isValid2 = ndfa.testString('abc'); //invalid
```

I pity anyone who uses this for production.  

Feel free to improve it!

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