# unq-arr

> Simple package to remove duplicates elements in arrays

Latest version **1.0.0** (published 2021-10-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install unq-arr
pnpm add unq-arr
yarn add unq-arr
bun add unq-arr
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-10-29 |
| First published | 2021-10-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Madkour17 |
| Maintainers | madkour17 |
| Keywords | unq-arr, unique-arr, unique, unique array, array, remove duplicate, unique list, unique-elements, uniq, unq, arr |

## Links

- npm: https://www.npmjs.com/package/unq-arr
- Repository: https://github.com/Madkour17/unq-arr
- Homepage: https://github.com/Madkour17/unq-arr#readme
- Issues: https://github.com/Madkour17/unq-arr/issues
- npm.io page: https://npm.io/package/unq-arr

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2021-10-29

## README

# unq-arr

Simple package to remove duplicates elements in arrays

# Installation

## using npm

    npm i unq-arr

## using yarn

    yarn add unq-arr

# Usage

```javascript
const { unique } = require('unq-arr');
```

```javascript
const arr = unique([🍉,🍉,🍇,🍇,🍓])

console.log(arr)

//  🍉,🍇,🍓
```

### also in nested arrays

```javascript
const arr = unique([[🍉,🍉,🍇],[🍇,🍓,🫐,🍈],🍒])

console.log(arr)

//  🍉,🍇,🍓,🫐,🍈,🍒
```

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