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