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
- Host: GitHub
- URL: https://github.com/streamich/fast-shallow-equal
- Owner: streamich
- License: unlicense
- Created: 2018-02-16T00:37:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-07-22T05:41:22.000Z (11 months ago)
- Last Synced: 2025-08-07T09:53:08.055Z (11 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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