# data-searcher

> Filter or Search through an Array with Web Worker Edit Add topics

Latest version **0.2.0** (published 2018-01-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install data-searcher
pnpm add data-searcher
yarn add data-searcher
bun add data-searcher
```

## 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.2.0 |
| Published | 2018-01-29 |
| First published | 2017-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Shafiq Ahmad |
| Maintainers | ahmad2smile |
| Keywords | data-searcher, filter, array-filter, web-worker |

## Links

- npm: https://www.npmjs.com/package/data-searcher
- Repository: https://github.com/ahmad2smile/searcher
- Homepage: https://github.com/ahmad2smile/searcher.git
- Issues: https://github.com/ahmad2smile/searcher/issues
- npm.io page: https://npm.io/package/data-searcher

## Alternatives

- [cron](https://npm.io/package/cron.md) — 4.9M weekly downloads
- [@vercel/queue](https://npm.io/package/@vercel/queue.md) — 731.6K weekly downloads
- [create-sonicjs](https://npm.io/package/create-sonicjs.md) — 1.6K weekly downloads
- [@exellix/jobs-api](https://npm.io/package/@exellix/jobs-api.md) — 941 weekly downloads
- [@forwardimpact/libskill](https://npm.io/package/@forwardimpact/libskill.md) — 575 weekly downloads

## Recent versions

- 0.2.0 (latest) — 2018-01-29
- 0.1.0 — 2018-01-27
- 0.0.1 — 2017-11-16

## README

# Data Searcher

Searcher is a simple library search a string in an Array of strings or Array of Objects with specific properties as string.

##### Install

`npm install data-searcher`

##### Why?

* Can handle **large** Array
* Will run on a separate thread than Website (Magic of Web Workers)

#### Usage:

For simple string Array search

    import dataSearcher from "data-searcher";

    dataSearcher(dataToSearchFrom, "x");

For Array of Objects search, Like if you wanna search record with character "x" for properties "name" or "job"

    import dataSearcher from "data-searcher";

    const dataToSearchFrom = [{ name: "Xavier", job: "x-man" }]

    dataSearcher(dataToSearchFrom, "x", "name", "job");

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