# not-so-shallow

> A less shallow `only-shallow`

Latest version **0.1.4** (published 2016-08-12) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install not-so-shallow
pnpm add not-so-shallow
yarn add not-so-shallow
bun add not-so-shallow
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2016-08-12 |
| First published | 2016-04-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Juan Soto |
| Maintainers | sotojuan |
| Keywords | deeper, deepest, deepEqual, shallow, equal, equality, strict |

## Links

- npm: https://www.npmjs.com/package/not-so-shallow
- Repository: https://github.com/sotojuan/not-so-shallow
- Homepage: https://github.com/sotojuan/not-so-shallow#readme
- Issues: https://github.com/sotojuan/not-so-shallow/issues
- npm.io page: https://npm.io/package/not-so-shallow

## Dependencies (1)

- [buffer-equals](https://npm.io/package/buffer-equals.md) ^1.0.3

## Recent versions

- 0.1.4 (latest) — 2016-08-12
- 0.1.3 — 2016-04-25
- 0.1.2 — 2016-04-23
- 0.1.1 — 2016-04-23
- 0.1.0 — 2016-04-23

## README

# not-so-shallow

> A less shallow [`only-shallow`](https://github.com/othiym23/only-shallow)

[![Build Status](https://travis-ci.org/sotojuan/not-so-shallow.svg?branch=master)](https://travis-ci.org/sotojuan/not-so-shallow)

This is just [`only-shallow`](https://github.com/othiym23/only-shallow) but with strict equality for value types.

## Install

```
$ npm install --save not-so-shallow
```

## Usage

```js
let notSoShallow = require('not-so-shallow')

notSoShallow({a: 0}, {a: false}) // false
notSoShallow({a: 0}, {a: '0'}) // false
notSoShallow({a: 1}, {a: 1}) // true
notSoShallow({a: 1, b: 2}, {b: 2, a: 1}) // true
```

## API

### notSoShallow(a, b)

Returns `true` if `a` and `b` are the same according to the algorithm, which is
explained in the comments of [`index.js`](https://github.com/sotojuan/not-so-shallow/blob/master/index.js).

## License

MIT © [Juan Soto](http://juansoto.me)

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