An open API service indexing awesome lists of open source software.

https://github.com/streamich/fast-shallow-equal

Very fast object shallow equal comparator
https://github.com/streamich/fast-shallow-equal

Last synced: 11 months ago
JSON representation

Very fast object shallow equal comparator

Awesome Lists containing this project

README

          

# fast-shallow-equal

[![][npm-badge]][npm-url] [![][travis-badge]][travis-url]

Very fast shallow equal, based on [`fast-deep-equal`](https://github.com/epoberezkin/fast-deep-equal).

## Installation


npm i fast-shallow-equal --save

## Usage

```js
import {equal} from 'fast-shallow-equal';

equal(a, b);
```

## License

[Unlicense](./LICENSE) — public domain.

[npm-url]: https://www.npmjs.com/package/fast-shallow-equal
[npm-badge]: https://img.shields.io/npm/v/fast-shallow-equal.svg
[travis-url]: https://travis-ci.org/streamich/fast-shallow-equal
[travis-badge]: https://travis-ci.org/streamich/fast-shallow-equal.svg?branch=master