{"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"keywords":["is","Object.is","equality","sameValueZero","ES6","shim","polyfill"],"dist-tags":{"latest":"1.0.1"},"author":{"name":"Jordan Harband"},"description":"ES6-compliant shim for Object.is - differentiates between -0 and +0","readme":"#object-is <sup>[![Version Badge][2]][1]</sup>\n\n[![Build Status][3]][4] [![dependency status][5]][6] [![dev dependency status][7]][8]\n\n[![npm badge][11]][1]\n\n[![browser support][9]][10]\n\nES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.\n\nEssentially, Object.is returns the same value as === - but true for NaN, and false for -0 and +0.\n\n## Example\n\n```js\nObject.is = require('object-is');\nvar assert = require('assert');\n\nassert.ok(Object.is());\nassert.ok(Object.is(undefined));\nassert.ok(Object.is(undefined, undefined));\nassert.ok(Object.is(null, null));\nassert.ok(Object.is(true, true));\nassert.ok(Object.is(false, false));\nassert.ok(Object.is('foo', 'foo'));\n\nvar arr = [1, 2];\nassert.ok(Object.is(arr, arr));\nassert.notOk(Object.is(arr, [1, 2]));\n\nassert.ok(Object.is(0, 0));\nassert.ok(Object.is(-0, -0));\nassert.notOk(Object.is(0, -0));\n\nassert.ok(Object.is(NaN, NaN));\nassert.ok(Object.is(Infinity, Infinity));\nassert.ok(Object.is(-Infinity, -Infinity));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/object-is\n[2]: http://vb.teelaun.ch/ljharb/object-is.svg\n[3]: https://travis-ci.org/ljharb/object-is.svg\n[4]: https://travis-ci.org/ljharb/object-is\n[5]: https://david-dm.org/ljharb/object-is.svg\n[6]: https://david-dm.org/ljharb/object-is\n[7]: https://david-dm.org/ljharb/object-is/dev-status.svg\n[8]: https://david-dm.org/ljharb/object-is#info=devDependencies\n[9]: https://ci.testling.com/ljharb/object-is.png\n[10]: https://ci.testling.com/ljharb/object-is\n[11]: https://nodei.co/npm/object-is.png?downloads=true&stars=true\n\n","repository":{"type":"git","url":"git://github.com/ljharb/object-is.git"},"users":{"emiljohansson":true},"bugs":{"url":"https://github.com/ljharb/object-is/issues"},"license":"MIT","versions":{"0.0.0":{"name":"object-is","version":"0.0.0","description":"ES6-compliant shim for Object.is - differentiates between -0 and +0","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"node test.js","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet"},"repository":{"type":"git","url":"git://github.com/ljharb/object-is.git"},"bugs":{"url":"https://github.com/ljharb/object-is/issues"},"homepage":"https://github.com/ljharb/object-is","keywords":["is","Object.is","equality","sameValueZero","ES6","shim","polyfill"],"dependencies":{},"devDependencies":{"tape":"~2.4.2","covert":"~0.3.1"},"testling":{"files":"test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..12.0","opera/15.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"_id":"object-is@0.0.0","dist":{"shasum":"65adab52f96f7071047ab2edf8d5e0d4230dc1b4","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/object-is/-/object-is-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"directories":{}},"1.0.0":{"name":"object-is","version":"1.0.0","description":"ES6-compliant shim for Object.is - differentiates between -0 and +0","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"node test.js && npm run coverage","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet"},"repository":{"type":"git","url":"git://github.com/ljharb/object-is.git"},"bugs":{"url":"https://github.com/ljharb/object-is/issues"},"homepage":"https://github.com/ljharb/object-is","keywords":["is","Object.is","equality","sameValueZero","ES6","shim","polyfill"],"dependencies":{},"devDependencies":{"tape":"~2.13.1","covert":"~0.4.0"},"testling":{"files":"test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..12.0","opera/15.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"8811835bff203cf0dc0dee1342beeb749ea63e10","_id":"object-is@1.0.0","_shasum":"c4d85931da0009435ec9825ddbe578a7ff82c001","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"dist":{"shasum":"c4d85931da0009435ec9825ddbe578a7ff82c001","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/object-is/-/object-is-1.0.0.tgz"},"directories":{}},"1.0.1":{"name":"object-is","version":"1.0.1","description":"ES6-compliant shim for Object.is - differentiates between -0 and +0","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node test.js && npm run coverage-quiet","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet","lint":"jscs *.js"},"repository":{"type":"git","url":"git://github.com/ljharb/object-is.git"},"bugs":{"url":"https://github.com/ljharb/object-is/issues"},"homepage":"https://github.com/ljharb/object-is","keywords":["is","Object.is","equality","sameValueZero","ES6","shim","polyfill"],"dependencies":{},"devDependencies":{"tape":"~2.14.0","covert":"~1.0.0","jscs":"~1.5.9"},"testling":{"files":"test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..12.0","opera/15.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"a51367e2c85f408211982ccb3ed2f1cc2da70d05","_id":"object-is@1.0.1","_shasum":"0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"dist":{"shasum":"0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/object-is/-/object-is-1.0.1.tgz"},"directories":{}}},"name":"object-is","time":{"modified":"2014-08-28T09:21:04.558Z","created":"2014-02-18T06:25:04.343Z","0.0.0":"2014-02-18T06:25:04.343Z","1.0.0":"2014-08-01T07:19:38.410Z","1.0.1":"2014-08-28T09:21:04.558Z"},"readmeFilename":"README.md","homepage":"https://github.com/ljharb/object-is"}