# @types/shallow-equals

> TypeScript definitions for shallow-equals

Latest version **1.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/shallow-equals
pnpm add @types/shallow-equals
yarn add @types/shallow-equals
bun add @types/shallow-equals
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-11-07 |
| First published | 2018-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/shallow-equals
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shallow-equals
- npm.io page: https://npm.io/package/@types/shallow-equals

## Recent versions

- 1.0.3 (latest) — 2023-11-07
- 1.0.0 (ts2.0) — 2018-08-16
- 1.0.2 — 2023-10-18
- 1.0.1 — 2023-09-25

## README

# Installation
> `npm install --save @types/shallow-equals`

# Summary
This package contains type definitions for shallow-equals (https://github.com/hughsk/shallow-equals).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shallow-equals.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shallow-equals/index.d.ts)
````ts
export = shallow_equals;

declare function shallow_equals<A, B>(
    a?: A,
    b?: B,
    compare?: (objA: A, objB: B) => boolean,
): boolean;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Ross Solomon](https://github.com/rsolomon).

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