# fuzzy-rx

> Fuzzy searching implemented as escaped and compiled regexp

Latest version **0.1.0** (published 2022-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install fuzzy-rx
pnpm add fuzzy-rx
yarn add fuzzy-rx
bun add fuzzy-rx
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2022-09-01 |
| First published | 2022-05-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 28.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Shane Holloway |
| Maintainers | shanewholloway |
| Keywords | fuzzy, search, regexp, text |

## Links

- npm: https://www.npmjs.com/package/fuzzy-rx
- Repository: https://github.com/shanewholloway/js-fuzzy-rx
- Homepage: https://github.com/shanewholloway/js-fuzzy-rx#readme
- Issues: https://github.com/shanewholloway/js-fuzzy-rx/issues
- npm.io page: https://npm.io/package/fuzzy-rx

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2022-09-01
- 0.0.2 — 2022-07-15
- 0.0.1 — 2022-05-25
- 0.0.0 — 2022-05-25

## README

# fuzzy-rx

Fuzzy searching implemented as escaped and compiled regexp.

Inpsired by much prior art, such as Ben Ripkens' [bripkens/fuzzy.js](https://github.com/bripkens/fuzzy.js)


### Install

```bash
> npm install fuzzy-rx
```

### Use

```javascript
import as_fuzzy_rx from 'fuzzy-rx'

let rx_search = as_fuzzy_rx('hello')

let txt_one = 'I am Happy \n to be here \n totally oblivious'
rx_search.test(txt_one) // true
  

let txt_two = 'does not match presented rx_search'
rx_search.test(txt_two) // false
```

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