# react-deep-search-box

> This component solving complex searching in javascript `Array`, `Array of object`, Nesteseted Array `of obejct/array` data.

Latest version **0.1.8** (published 2023-11-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-deep-search-box
pnpm add react-deep-search-box
yarn add react-deep-search-box
bun add react-deep-search-box
```

## 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.8 |
| Published | 2023-11-20 |
| First published | 2023-11-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ramkonda393 |
| Maintainers | ramkonda393 |
| Keywords | react, search, box, deep-box, react search, react-deep, react-deep-search-box, react search box, deep box, react deep, react deep search box |

## Links

- npm: https://www.npmjs.com/package/react-deep-search-box
- Repository: https://github.com/coder4509/react-deep-search-box
- Homepage: https://github.com/coder4509/react-deep-search-box#readme
- Issues: https://github.com/coder4509/react-deep-search-box/issues
- npm.io page: https://npm.io/package/react-deep-search-box

## Dependencies (1)

- [react](https://npm.io/package/react.md) ^18.2.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.8 (latest) — 2023-11-20
- 0.1.7 — 2023-11-20
- 0.1.6 — 2023-11-08
- 0.1.5 — 2023-11-08
- 0.1.4 — 2023-11-07
- 0.1.3 — 2023-11-07
- 0.1.2 — 2023-11-07
- 0.1.1 — 2023-11-07

## README

# react-deep-search-box

This component solving complex searching in javascript `Array`, `Array of object`, Nesteseted Array `of obejct/array` data.

## Installation
To install run the following command:

```bash
  npm install react-deep-search-box
```

## if @babel/runtime not installed then install it with below
```bash
  npm install @babel/runtime -D
```

## Usage
First import it in your component.

```bash 
import ReactDeepSearchbox from 'react-deep-search-box';

export default App = () => {

return (<div>
  <ReactDeepSearchbox 
    items={['apple', 'orange', 'mango']}
    onResult={(result) => console.log('result', result)}
  />
</div>);
}
```

## Mutiple Search
To search multiple then just put comma sperated string like `mango,oranage` then it will search mango and orange in data and return result.


## Component Props
``` bash
  items: [] ----> (PropTypes.array) 

  placeHolder: "Search...." ----> (PropTypes.string)

  customClass: "" ----> (PropTypes.string)

  searchBarClass: "" ----> (PropTypes.string)

  btnClass: "" ----> (PropTypes.string)

  btnIconOrTxt: "Search" || React.node ----> (PropTypes.string || PropTypes.node)

  onResult: PropTypes.func
```

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