{"_id":"is-negative-zero","_rev":"182122","name":"is-negative-zero","description":"Is this value negative zero? === will lie to you","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2022-10-18T10:04:25.000Z","created":"2014-01-20T07:28:03.828Z","2.0.2":"2021-12-10T19:43:39.477Z","2.0.1":"2020-12-04T23:35:21.154Z","2.0.0":"2015-07-25T04:27:39.097Z","1.0.0":"2014-08-08T19:49:39.755Z","0.1.1":"2014-05-14T06:42:22.193Z","0.1.0":"2014-05-13T23:56:14.193Z","0.0.0":"2014-01-20T07:28:03.828Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git://github.com/inspect-js/is-negative-zero.git"},"versions":{"2.0.2":{"name":"is-negative-zero","version":"2.0.2","description":"Is this value negative zero? === will lie to you","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only","tests-only":"nyc tape 'test/**/*.js'","posttest":"aud --production","lint":"eslint --ext=js,mjs .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-negative-zero.git"},"bugs":{"url":"https://github.com/inspect-js/is-negative-zero/issues"},"homepage":"https://github.com/inspect-js/is-negative-zero","keywords":["is","negative","zero","negative zero","number","positive","0","-0"],"devDependencies":{"@ljharb/eslint-config":"^20.0.0","aud":"^1.1.5","auto-changelog":"^2.3.0","eslint":"^8.4.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.3.2"},"testling":{"files":"test/index.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"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"360cdcc36d5194992f0dae68a624c02d2c945a94","_id":"is-negative-zero@2.0.2","_nodeVersion":"17.2.0","_npmVersion":"8.1.4","dist":{"shasum":"7bf6f03a28003b8b3965de3ac26f664d765f3150","size":7706,"noattachment":false,"key":"/is-negative-zero/-/is-negative-zero-2.0.2.tgz","tarball":"http://name.csiicloud.com:7001/is-negative-zero/download/is-negative-zero-2.0.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-negative-zero_2.0.2_1639165419283_0.2311208731665504"},"_hasShrinkwrap":false,"publish_time":1639165419477,"_cnpm_publish_time":1639165419477,"_cnpmcore_publish_time":"2021-12-13T08:09:11.973Z"},"2.0.1":{"name":"is-negative-zero","version":"2.0.1","description":"Is this value negative zero? === will lie to you","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run lint","test":"npm run tests-only","tests-only":"nyc tape 'test/**/*.js'","posttest":"npx aud --production","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-negative-zero.git"},"bugs":{"url":"https://github.com/inspect-js/is-negative-zero/issues"},"homepage":"https://github.com/inspect-js/is-negative-zero","keywords":["is","negative","zero","negative zero","number","positive","0","-0"],"dependencies":{},"devDependencies":{"@ljharb/eslint-config":"^17.3.0","aud":"^1.1.3","auto-changelog":"^2.2.1","eslint":"^7.14.0","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"testling":{"files":"test/index.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"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"75873581d580e19c8e11062f06814786ab34205a","_id":"is-negative-zero@2.0.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"shasum":"3de746c18dda2319241a53675908d8f766f11c24","size":7712,"noattachment":false,"key":"/is-negative-zero/-/is-negative-zero-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/is-negative-zero/download/is-negative-zero-2.0.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-negative-zero_2.0.1_1607124920795_0.1661557660072388"},"_hasShrinkwrap":false,"publish_time":1607124921154,"_cnpm_publish_time":1607124921154},"2.0.0":{"name":"is-negative-zero","version":"2.0.0","description":"Is this value negative zero? === will lie to you","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":"npm run jscs && npm run eslint","jscs":"jscs *.js","eslint":"eslint *.js"},"repository":{"type":"git","url":"git://github.com/ljharb/is-negative-zero.git"},"bugs":{"url":"https://github.com/ljharb/is-negative-zero/issues"},"homepage":"https://github.com/ljharb/is-negative-zero","keywords":["is","negative","zero","negative zero","number","positive","0","-0"],"dependencies":{},"devDependencies":{"tape":"^4.0.1","covert":"^1.1.0","jscs":"^1.13.1","eslint":"^1.0.0-rc-3","@ljharb/eslint-config":"^1.0.3"},"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":"e387d0e5fdc75b6bf49efa43d2f9afe0c69fc68f","_id":"is-negative-zero@2.0.0","_shasum":"9553b121b0fac28869da9ed459e20c7543788461","_from":".","_npmVersion":"2.13.0","_nodeVersion":"2.4.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"9553b121b0fac28869da9ed459e20c7543788461","size":3543,"noattachment":false,"key":"/is-negative-zero/-/is-negative-zero-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-negative-zero/download/is-negative-zero-2.0.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1437798459097,"_cnpm_publish_time":1437798459097,"_hasShrinkwrap":false},"1.0.0":{"name":"is-negative-zero","version":"1.0.0","description":"Is this value negative zero? === will lie to you","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"node test.js && npm run coverage-quiet","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet"},"repository":{"type":"git","url":"git://github.com/ljharb/is-negative-zero.git"},"bugs":{"url":"https://github.com/ljharb/is-negative-zero/issues"},"homepage":"https://github.com/ljharb/is-negative-zero","keywords":["is","negative","zero","negative zero","number","positive","0","-0"],"dependencies":{},"devDependencies":{"tape":"~2.14.0","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":"f632ae1bf060a8681676751f17ffa18f02f62882","_id":"is-negative-zero@1.0.0","_shasum":"1d6854ab92b1eaefeb8164bac0d05efdd532ac85","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"1d6854ab92b1eaefeb8164bac0d05efdd532ac85","size":2482,"noattachment":false,"key":"/is-negative-zero/-/is-negative-zero-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-negative-zero/download/is-negative-zero-1.0.0.tgz"},"directories":{},"publish_time":1407527379755,"_cnpm_publish_time":1407527379755,"_hasShrinkwrap":false},"0.1.1":{"name":"is-negative-zero","version":"0.1.1","description":"Is this value negative zero? === will lie to you","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"node test.js && npm run coverage-quiet","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet"},"repository":{"type":"git","url":"git://github.com/ljharb/is-negative-zero.git"},"bugs":{"url":"https://github.com/ljharb/is-negative-zero/issues"},"homepage":"https://github.com/ljharb/is-negative-zero","keywords":["is","negative","zero","negative zero","number","positive","0","-0"],"dependencies":{},"devDependencies":{"tape":"~2.12.3","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"},"_id":"is-negative-zero@0.1.1","_shasum":"7c6334beeca98297baebdf52a6be32850c4e7027","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"7c6334beeca98297baebdf52a6be32850c4e7027","size":2477,"noattachment":false,"key":"/is-negative-zero/-/is-negative-zero-0.1.1.tgz","tarball":"http://name.csiicloud.com:7001/is-negative-zero/download/is-negative-zero-0.1.1.tgz"},"directories":{},"publish_time":1400049742193,"_cnpm_publish_time":1400049742193,"_hasShrinkwrap":false},"0.1.0":{"name":"is-negative-zero","version":"0.1.0","description":"Is this value negative zero? === will lie to you","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"node test.js && npm run coverage-quiet","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet"},"repository":{"type":"git","url":"git://github.com/ljharb/is-negative-zero.git"},"bugs":{"url":"https://github.com/ljharb/is-negative-zero/issues"},"homepage":"https://github.com/ljharb/is-negative-zero","keywords":["is","negative","zero","negative zero","number","positive","0","-0"],"dependencies":{},"devDependencies":{"tape":"~2.12.3","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"},"_id":"is-negative-zero@0.1.0","_shasum":"ce009a87d2848b03640d458ef9f272efe0518ed6","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"ce009a87d2848b03640d458ef9f272efe0518ed6","size":2469,"noattachment":false,"key":"/is-negative-zero/-/is-negative-zero-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/is-negative-zero/download/is-negative-zero-0.1.0.tgz"},"directories":{},"publish_time":1400025374193,"_hasShrinkwrap":false,"_cnpm_publish_time":1400025374193},"0.0.0":{"name":"is-negative-zero","version":"0.0.0","description":"Is this value negative zero? === will lie to you","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"node test.js && npm run coverage-quiet","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet"},"repository":{"type":"git","url":"git://github.com/ljharb/is-negative-zero.git"},"bugs":{"url":"https://github.com/ljharb/is-negative-zero/issues"},"homepage":"https://github.com/ljharb/is-negative-zero","keywords":["is","negative","zero","negative zero","number","positive","0","-0"],"dependencies":{},"devDependencies":{"tape":"~2.3.2","covert":"~0.3.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"},"readmeFilename":"README.md","_id":"is-negative-zero@0.0.0","dist":{"shasum":"f5ddc0ef86ce7de2aa1970a5fa595db69bf24293","size":2329,"noattachment":false,"key":"/is-negative-zero/-/is-negative-zero-0.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-negative-zero/download/is-negative-zero-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1390202883828,"_cnpm_publish_time":1390202883828,"deprecated":"Contains a bug: negative numbers are negative zero","_hasShrinkwrap":false}},"readme":"# is-negative-zero <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nIs this value negative zero? === will lie to you.\n\n## Example\n\n```js\nvar isNegativeZero = require('is-negative-zero');\nvar assert = require('assert');\n\nassert.notOk(isNegativeZero(undefined));\nassert.notOk(isNegativeZero(null));\nassert.notOk(isNegativeZero(false));\nassert.notOk(isNegativeZero(true));\nassert.notOk(isNegativeZero(0));\nassert.notOk(isNegativeZero(42));\nassert.notOk(isNegativeZero(Infinity));\nassert.notOk(isNegativeZero(-Infinity));\nassert.notOk(isNegativeZero(NaN));\nassert.notOk(isNegativeZero('foo'));\nassert.notOk(isNegativeZero(function () {}));\nassert.notOk(isNegativeZero([]));\nassert.notOk(isNegativeZero({}));\n\nassert.ok(isNegativeZero(-0));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/is-negative-zero\n[npm-version-svg]: https://versionbadg.es/inspect-js/is-negative-zero.svg\n[deps-svg]: https://david-dm.org/inspect-js/is-negative-zero.svg\n[deps-url]: https://david-dm.org/inspect-js/is-negative-zero\n[dev-deps-svg]: https://david-dm.org/inspect-js/is-negative-zero/dev-status.svg\n[dev-deps-url]: https://david-dm.org/inspect-js/is-negative-zero#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/is-negative-zero.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-negative-zero.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-negative-zero.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-negative-zero\n[codecov-image]: https://codecov.io/gh/inspect-js/is-negative-zero/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-negative-zero/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-negative-zero\n[actions-url]: https://github.com/inspect-js/is-negative-zero/actions\n","_attachments":{},"homepage":"https://github.com/inspect-js/is-negative-zero","bugs":{"url":"https://github.com/inspect-js/is-negative-zero/issues"},"license":"MIT"}