open-index/open-npm huggingface dataset:
npm package: @samirdamle/use-list
Description: A simple React hook to display, edit, and manage a list of items.
Author: Samir Damle
Latest version: 1.0.0

# use-list

[![NPM](https://img.shields.io/npm/v/use-list.svg)](https://www.npmjs.com/package/use-list) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save use-list
```

## Usage

```
import { useList } from 'use-list'
```

## Demo

```
https://codesandbox.io/s/inspiring-water-uq7g4
```

## Methods

| Inputs               | README                                                  |
| -------------------- | ------------------------------------------------------- |
| addItem              | For adding item in the list                             |
| deleteItem           | For deleting first item in the list                     |
| deleteItems          | For deleting selected item(s) in the list               |
| sortItems            | For sorting item(s) in the list                         |
| filterItems          | For Filtering item(s) in the list                       |
| toggleSelectItem     | For getting details of selected item(s) in the list     |
| toggleSelectAllItems | For getting details of all selected item(s) in the list |

## License

MIT © [Samir Damle](https://github.com/samirdamle/use-list)