npm install object.isIf 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.
``sh`
$ npm install object.is
`js
const is = require('object.is')
is('foo', 'foo') // => true
is(NaN, 0 / 0 ) // => true
``