# object.is

> `Object.is()` ponyfill

Latest version **1.0.0** (published 2017-03-26) · CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install object.is
pnpm add object.is
yarn add object.is
bun add object.is
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-03-26 |
| First published | 2017-03-26 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | separate (@types/object.is) |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Johnny Hauser |
| Maintainers | m59 |
| Keywords | Object.is, object, is, es6, ponyfill, shim, polyfill, native, equal, equality, browser, node |

## Links

- npm: https://www.npmjs.com/package/object.is
- Repository: https://github.com/m59peacemaker/js-object.is
- Homepage: https://github.com/m59peacemaker/js-object.is#readme
- Issues: https://github.com/m59peacemaker/js-object.is/issues
- npm.io page: https://npm.io/package/object.is

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-03-26

## README

# object.is

> [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is) [ponyfill](https://ponyfill.com)

## use the built-in

If you don't need to support Internet Explorer, you probably do not need this package. `Object.is()` is supported in most environments. Just use `Object.is()` directly.

## install

```sh
$ npm install object.is
```

## example

```js
const is = require('object.is')

is('foo', 'foo') // => true
is(NaN, 0 / 0 ) // => true
```

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