# puzzy-search

> Add google-like search and auto suggest (did you mean...)

Latest version **1.0.20** (published 2019-10-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install puzzy-search
pnpm add puzzy-search
yarn add puzzy-search
bun add puzzy-search
```

## 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.20 |
| Published | 2019-10-22 |
| First published | 2019-10-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Trinmar A Boado |
| Maintainers | trinly01 |
| Keywords | search, fuzzy, puzzy, pussy, suggest, similar, spell, typo |

## Links

- npm: https://www.npmjs.com/package/puzzy-search
- Repository: https://github.com/trinly01/puzzy-search
- Homepage: https://github.com/trinly01/puzzy-search#readme
- Issues: https://github.com/trinly01/puzzy-search/issues
- npm.io page: https://npm.io/package/puzzy-search

## 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

- 1.0.20 (latest) — 2019-10-22
- 1.0.19 — 2019-10-22
- 1.0.18 — 2019-10-22
- 1.0.17 — 2019-10-22
- 1.0.16 — 2019-10-22
- 1.0.15 — 2019-10-22
- 1.0.14 — 2019-10-22
- 1.0.13 — 2019-10-21
- 1.0.12 — 2019-10-21
- 1.0.11 — 2019-10-21
- 1.0.10 — 2019-10-21
- 1.0.9 — 2019-10-21
- 1.0.8 — 2019-10-21
- 1.0.7 — 2019-10-21
- 1.0.6 — 2019-10-21
- … 5 more at https://npm.io/package/puzzy-search/versions

## README

[![npm version](https://badge.fury.io/js/puzzy-search.svg)](https://badge.fury.io/js/puzzy-search)

# puzzy-search
Add google-like `search` and `auto suggest` (did you mean...)

 - [x] misspelled words
 - [x] fuzzy search
 - [x] suggest similar words

<p align="center">
  <img src="search.gif"/>
</p>

> **Join and support our Community** <br />
> Web and Mobile Developers PH <br />
> [ [Facebook Page](https://fb.com/webmobile.ph) | [Group](https://fb.com/groups/webmobile.ph/) ]

## Install
```
npm install puzzy-search
```

## CDN
```html
  <script src="https://unpkg.com/puzzy-search/dist/index.js"></script>
```

## Usage
```js
const { search, suggest, regex } = require('puzzy-search')
// const { search, suggest, regex } = puzzySearch // for CDN

const sentence = 'You want the web server to support four of the most popular programming paradigms.'

const str = 'puppular programmng paradim'

search(str, sentence) // true

suggest(str, sentence) // popular programming paradigm

regex(str) // new RegExp(...puzzy...)

sentence.match(regex(str)) !== null // true
```


# *Join and support our Community* <br /> **Web and Mobile Developers PH** <br/> [ [Facebook Page](https://fb.com/webmobile.ph) | [Group](https://fb.com/groups/webmobile.ph/) ]

## License
ISC © 2019 Trinmar Boado
MIT © 2019 Ray Foss
MIT © 2017 Arve Seljebu

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