# x-deep-array-equal

> **xDeepArrayEqual** recursively compares two nested arrays for deep equality. It does so by checking whether the two input arrays are deeply equal, meaning they have the same values in the same structure

Latest version **0.0.1** (published 2023-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install x-deep-array-equal
pnpm add x-deep-array-equal
yarn add x-deep-array-equal
bun add x-deep-array-equal
```

## Health

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

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2023-09-01 |
| First published | 2023-09-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 18.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | nhutdm |
| Maintainers | nhutdm198 |
| Keywords | x-deep-array-equal, x deep array equal, compare two array, deep-array-equal, deep array equal, deep array diff, array diff, compare array |

## Links

- npm: https://www.npmjs.com/package/x-deep-array-equal
- npm.io page: https://npm.io/package/x-deep-array-equal

## Dependencies (1)

- [x-deep-object-equal](https://npm.io/package/x-deep-object-equal.md) ^0.0.1

## Recent versions

- 0.0.1 (latest) — 2023-09-01

## README

**xDeepArrayEqual** recursively compares two nested arrays for deep equality. It does so by checking whether the two input arrays are deeply equal, meaning they have the same values in the same structure

## Installation

To use xDeepArrayEqual, you'll need to include the provided TypeScript file in your project.

1. Download the `xDeepArrayEqual.ts` file from this repository.
2. Add the file to your project directory.

## Usage

1. Import the `xDeepArrayEqual` class into your TypeScript code:

   ```typescript
   import { xDeepArrayEqual } from 'x-deep-array-equal'

   xDeepArrayEqual([1, [2, 3], 4], [1, [2, 3], 4])
   // true

2. Import the `xDeepArrayEqual` class into your Javascript code:

   ```javascript
   const { xDeepArrayEqual } = require("x-deep-array-equal")

   xDeepArrayEqual([1, [2, 3], 4], [1, [2, 4], 4])
   // false

## Support Me

If you find this project helpful or want to show your appreciation, you can support me by [buying me a coffee](https://www.buymeacoffee.com/nhutdm). Your support is greatly appreciated!

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