# @f/equal

> Check two things for shallow equality

Latest version **1.0.1** (published 2016-03-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @f/equal
pnpm add @f/equal
yarn add @f/equal
bun add @f/equal
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-03-03 |
| First published | 2016-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | f |

## Links

- npm: https://www.npmjs.com/package/@f/equal
- Repository: https://github.com/micro-js/equal
- Homepage: https://github.com/micro-js/equal#readme
- Issues: https://github.com/micro-js/equal/issues
- npm.io page: https://npm.io/package/@f/equal

## Dependencies (4)

- [@f/is-array](https://npm.io/package/@f/is-array.md) ^1.1.1
- [@f/equal-obj](https://npm.io/package/@f/equal-obj.md) ^1.2.1
- [@f/is-object](https://npm.io/package/@f/is-object.md) ^1.1.4
- [@f/equal-array](https://npm.io/package/@f/equal-array.md) ^1.2.2

## Recent versions

- 1.0.1 (latest) — 2016-03-03
- 1.0.0 — 2016-03-03

## README

# equal

[![Build status][travis-image]][travis-url]
[![Git tag][git-image]][git-url]
[![NPM version][npm-image]][npm-url]
[![Code style][standard-image]][standard-url]

Check two things for shallow equality

## Installation

    $ npm install @f/equal

## Usage

```js
var equal = require('@f/equal')

if (equal(nextProps, prevProps)) {
  component.render(nextProps)
}
```

## API

### equal(a, b)

- `a` - An array/object/value to check against `b` for equality
- `b` - An array/object/value to check against `a` for equality

**Returns:** A Boolean value indicating whether `a` and `b` are shallow equal.

## License

MIT

[travis-image]: https://img.shields.io/travis/micro-js/equal.svg?style=flat-square
[travis-url]: https://travis-ci.org/micro-js/equal
[git-image]: https://img.shields.io/github/tag/micro-js/equal.svg?style=flat-square
[git-url]: https://github.com/micro-js/equal
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: https://github.com/feross/standard
[npm-image]: https://img.shields.io/npm/v/@f/equal.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@f/equal

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