| 1 |
{ |
| 2 |
"_id": "is-negative-zero", |
| 3 |
"_rev": "13-ae3bbd195c8655de7ef9a51793383b6b", |
| 4 |
"name": "is-negative-zero", |
| 5 |
"description": "Is this value negative zero? === will lie to you", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.0.0": { |
| 11 |
"name": "is-negative-zero", |
| 12 |
"version": "0.0.0", |
| 13 |
"description": "Is this value negative zero? === will lie to you", |
| 14 |
"author": { |
| 15 |
"name": "Jordan Harband" |
| 16 |
}, |
| 17 |
"license": "MIT", |
| 18 |
"main": "index.js", |
| 19 |
"scripts": { |
| 20 |
"test": "node test.js && npm run coverage-quiet", |
| 21 |
"coverage": "covert test.js", |
| 22 |
"coverage-quiet": "covert test.js --quiet" |
| 23 |
}, |
| 24 |
"repository": { |
| 25 |
"type": "git", |
| 26 |
"url": "git://github.com/ljharb/is-negative-zero.git" |
| 27 |
}, |
| 28 |
"bugs": { |
| 29 |
"url": "https://github.com/ljharb/is-negative-zero/issues" |
| 30 |
}, |
| 31 |
"homepage": "https://github.com/ljharb/is-negative-zero", |
| 32 |
"keywords": [ |
| 33 |
"is", |
| 34 |
"negative", |
| 35 |
"zero", |
| 36 |
"negative zero", |
| 37 |
"number", |
| 38 |
"positive", |
| 39 |
"0", |
| 40 |
"-0" |
| 41 |
], |
| 42 |
"dependencies": {}, |
| 43 |
"devDependencies": { |
| 44 |
"tape": "~2.3.2", |
| 45 |
"covert": "~0.3.0" |
| 46 |
}, |
| 47 |
"testling": { |
| 48 |
"files": "test.js", |
| 49 |
"browsers": [ |
| 50 |
"iexplore/6.0..latest", |
| 51 |
"firefox/3.0..6.0", |
| 52 |
"firefox/15.0..latest", |
| 53 |
"firefox/nightly", |
| 54 |
"chrome/4.0..10.0", |
| 55 |
"chrome/20.0..latest", |
| 56 |
"chrome/canary", |
| 57 |
"opera/10.0..12.0", |
| 58 |
"opera/15.0..latest", |
| 59 |
"opera/next", |
| 60 |
"safari/4.0..latest", |
| 61 |
"ipad/6.0..latest", |
| 62 |
"iphone/6.0..latest", |
| 63 |
"android-browser/4.2" |
| 64 |
] |
| 65 |
}, |
| 66 |
"engines": { |
| 67 |
"node": ">= 0.4" |
| 68 |
}, |
| 69 |
"_id": "[email protected]", |
| 70 |
"dist": { |
| 71 |
"shasum": "f5ddc0ef86ce7de2aa1970a5fa595db69bf24293", |
| 72 |
"tarball": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-0.0.0.tgz" |
| 73 |
}, |
| 74 |
"_from": ".", |
| 75 |
"_npmVersion": "1.3.21", |
| 76 |
"_npmUser": { |
| 77 |
"name": "ljharb", |
| 78 |
"email": "[email protected]" |
| 79 |
}, |
| 80 |
"maintainers": [ |
| 81 |
{ |
| 82 |
"name": "ljharb", |
| 83 |
"email": "[email protected]" |
| 84 |
} |
| 85 |
], |
| 86 |
"deprecated": "Contains a bug: negative numbers are negative zero", |
| 87 |
"directories": {} |
| 88 |
}, |
| 89 |
"0.1.0": { |
| 90 |
"name": "is-negative-zero", |
| 91 |
"version": "0.1.0", |
| 92 |
"description": "Is this value negative zero? === will lie to you", |
| 93 |
"author": { |
| 94 |
"name": "Jordan Harband" |
| 95 |
}, |
| 96 |
"license": "MIT", |
| 97 |
"main": "index.js", |
| 98 |
"scripts": { |
| 99 |
"test": "node test.js && npm run coverage-quiet", |
| 100 |
"coverage": "covert test.js", |
| 101 |
"coverage-quiet": "covert test.js --quiet" |
| 102 |
}, |
| 103 |
"repository": { |
| 104 |
"type": "git", |
| 105 |
"url": "git://github.com/ljharb/is-negative-zero.git" |
| 106 |
}, |
| 107 |
"bugs": { |
| 108 |
"url": "https://github.com/ljharb/is-negative-zero/issues" |
| 109 |
}, |
| 110 |
"homepage": "https://github.com/ljharb/is-negative-zero", |
| 111 |
"keywords": [ |
| 112 |
"is", |
| 113 |
"negative", |
| 114 |
"zero", |
| 115 |
"negative zero", |
| 116 |
"number", |
| 117 |
"positive", |
| 118 |
"0", |
| 119 |
"-0" |
| 120 |
], |
| 121 |
"dependencies": {}, |
| 122 |
"devDependencies": { |
| 123 |
"tape": "~2.12.3", |
| 124 |
"covert": "~0.4.0" |
| 125 |
}, |
| 126 |
"testling": { |
| 127 |
"files": "test.js", |
| 128 |
"browsers": [ |
| 129 |
"iexplore/6.0..latest", |
| 130 |
"firefox/3.0..6.0", |
| 131 |
"firefox/15.0..latest", |
| 132 |
"firefox/nightly", |
| 133 |
"chrome/4.0..10.0", |
| 134 |
"chrome/20.0..latest", |
| 135 |
"chrome/canary", |
| 136 |
"opera/10.0..12.0", |
| 137 |
"opera/15.0..latest", |
| 138 |
"opera/next", |
| 139 |
"safari/4.0..latest", |
| 140 |
"ipad/6.0..latest", |
| 141 |
"iphone/6.0..latest", |
| 142 |
"android-browser/4.2" |
| 143 |
] |
| 144 |
}, |
| 145 |
"engines": { |
| 146 |
"node": ">= 0.4" |
| 147 |
}, |
| 148 |
"_id": "[email protected]", |
| 149 |
"_shasum": "ce009a87d2848b03640d458ef9f272efe0518ed6", |
| 150 |
"_from": ".", |
| 151 |
"_npmVersion": "1.4.9", |
| 152 |
"_npmUser": { |
| 153 |
"name": "ljharb", |
| 154 |
"email": "[email protected]" |
| 155 |
}, |
| 156 |
"maintainers": [ |
| 157 |
{ |
| 158 |
"name": "ljharb", |
| 159 |
"email": "[email protected]" |
| 160 |
} |
| 161 |
], |
| 162 |
"dist": { |
| 163 |
"shasum": "ce009a87d2848b03640d458ef9f272efe0518ed6", |
| 164 |
"tarball": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-0.1.0.tgz" |
| 165 |
}, |
| 166 |
"directories": {} |
| 167 |
}, |
| 168 |
"0.1.1": { |
| 169 |
"name": "is-negative-zero", |
| 170 |
"version": "0.1.1", |
| 171 |
"description": "Is this value negative zero? === will lie to you", |
| 172 |
"author": { |
| 173 |
"name": "Jordan Harband" |
| 174 |
}, |
| 175 |
"license": "MIT", |
| 176 |
"main": "index.js", |
| 177 |
"scripts": { |
| 178 |
"test": "node test.js && npm run coverage-quiet", |
| 179 |
"coverage": "covert test.js", |
| 180 |
"coverage-quiet": "covert test.js --quiet" |
| 181 |
}, |
| 182 |
"repository": { |
| 183 |
"type": "git", |
| 184 |
"url": "git://github.com/ljharb/is-negative-zero.git" |
| 185 |
}, |
| 186 |
"bugs": { |
| 187 |
"url": "https://github.com/ljharb/is-negative-zero/issues" |
| 188 |
}, |
| 189 |
"homepage": "https://github.com/ljharb/is-negative-zero", |
| 190 |
"keywords": [ |
| 191 |
"is", |
| 192 |
"negative", |
| 193 |
"zero", |
| 194 |
"negative zero", |
| 195 |
"number", |
| 196 |
"positive", |
| 197 |
"0", |
| 198 |
"-0" |
| 199 |
], |
| 200 |
"dependencies": {}, |
| 201 |
"devDependencies": { |
| 202 |
"tape": "~2.12.3", |
| 203 |
"covert": "~0.4.0" |
| 204 |
}, |
| 205 |
"testling": { |
| 206 |
"files": "test.js", |
| 207 |
"browsers": [ |
| 208 |
"iexplore/6.0..latest", |
| 209 |
"firefox/3.0..6.0", |
| 210 |
"firefox/15.0..latest", |
| 211 |
"firefox/nightly", |
| 212 |
"chrome/4.0..10.0", |
| 213 |
"chrome/20.0..latest", |
| 214 |
"chrome/canary", |
| 215 |
"opera/10.0..12.0", |
| 216 |
"opera/15.0..latest", |
| 217 |
"opera/next", |
| 218 |
"safari/4.0..latest", |
| 219 |
"ipad/6.0..latest", |
| 220 |
"iphone/6.0..latest", |
| 221 |
"android-browser/4.2" |
| 222 |
] |
| 223 |
}, |
| 224 |
"engines": { |
| 225 |
"node": ">= 0.4" |
| 226 |
}, |
| 227 |
"_id": "[email protected]", |
| 228 |
"_shasum": "7c6334beeca98297baebdf52a6be32850c4e7027", |
| 229 |
"_from": ".", |
| 230 |
"_npmVersion": "1.4.9", |
| 231 |
"_npmUser": { |
| 232 |
"name": "ljharb", |
| 233 |
"email": "[email protected]" |
| 234 |
}, |
| 235 |
"maintainers": [ |
| 236 |
{ |
| 237 |
"name": "ljharb", |
| 238 |
"email": "[email protected]" |
| 239 |
} |
| 240 |
], |
| 241 |
"dist": { |
| 242 |
"shasum": "7c6334beeca98297baebdf52a6be32850c4e7027", |
| 243 |
"tarball": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-0.1.1.tgz" |
| 244 |
}, |
| 245 |
"directories": {} |
| 246 |
}, |
| 247 |
"1.0.0": { |
| 248 |
"name": "is-negative-zero", |
| 249 |
"version": "1.0.0", |
| 250 |
"description": "Is this value negative zero? === will lie to you", |
| 251 |
"author": { |
| 252 |
"name": "Jordan Harband" |
| 253 |
}, |
| 254 |
"license": "MIT", |
| 255 |
"main": "index.js", |
| 256 |
"scripts": { |
| 257 |
"test": "node test.js && npm run coverage-quiet", |
| 258 |
"coverage": "covert test.js", |
| 259 |
"coverage-quiet": "covert test.js --quiet" |
| 260 |
}, |
| 261 |
"repository": { |
| 262 |
"type": "git", |
| 263 |
"url": "git://github.com/ljharb/is-negative-zero.git" |
| 264 |
}, |
| 265 |
"bugs": { |
| 266 |
"url": "https://github.com/ljharb/is-negative-zero/issues" |
| 267 |
}, |
| 268 |
"homepage": "https://github.com/ljharb/is-negative-zero", |
| 269 |
"keywords": [ |
| 270 |
"is", |
| 271 |
"negative", |
| 272 |
"zero", |
| 273 |
"negative zero", |
| 274 |
"number", |
| 275 |
"positive", |
| 276 |
"0", |
| 277 |
"-0" |
| 278 |
], |
| 279 |
"dependencies": {}, |
| 280 |
"devDependencies": { |
| 281 |
"tape": "~2.14.0", |
| 282 |
"covert": "~0.4.0" |
| 283 |
}, |
| 284 |
"testling": { |
| 285 |
"files": "test.js", |
| 286 |
"browsers": [ |
| 287 |
"iexplore/6.0..latest", |
| 288 |
"firefox/3.0..6.0", |
| 289 |
"firefox/15.0..latest", |
| 290 |
"firefox/nightly", |
| 291 |
"chrome/4.0..10.0", |
| 292 |
"chrome/20.0..latest", |
| 293 |
"chrome/canary", |
| 294 |
"opera/10.0..12.0", |
| 295 |
"opera/15.0..latest", |
| 296 |
"opera/next", |
| 297 |
"safari/4.0..latest", |
| 298 |
"ipad/6.0..latest", |
| 299 |
"iphone/6.0..latest", |
| 300 |
"android-browser/4.2" |
| 301 |
] |
| 302 |
}, |
| 303 |
"engines": { |
| 304 |
"node": ">= 0.4" |
| 305 |
}, |
| 306 |
"gitHead": "f632ae1bf060a8681676751f17ffa18f02f62882", |
| 307 |
"_id": "[email protected]", |
| 308 |
"_shasum": "1d6854ab92b1eaefeb8164bac0d05efdd532ac85", |
| 309 |
"_from": ".", |
| 310 |
"_npmVersion": "1.4.21", |
| 311 |
"_npmUser": { |
| 312 |
"name": "ljharb", |
| 313 |
"email": "[email protected]" |
| 314 |
}, |
| 315 |
"maintainers": [ |
| 316 |
{ |
| 317 |
"name": "ljharb", |
| 318 |
"email": "[email protected]" |
| 319 |
} |
| 320 |
], |
| 321 |
"dist": { |
| 322 |
"shasum": "1d6854ab92b1eaefeb8164bac0d05efdd532ac85", |
| 323 |
"tarball": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-1.0.0.tgz" |
| 324 |
}, |
| 325 |
"directories": {} |
| 326 |
}, |
| 327 |
"2.0.0": { |
| 328 |
"name": "is-negative-zero", |
| 329 |
"version": "2.0.0", |
| 330 |
"description": "Is this value negative zero? === will lie to you", |
| 331 |
"author": { |
| 332 |
"name": "Jordan Harband" |
| 333 |
}, |
| 334 |
"license": "MIT", |
| 335 |
"main": "index.js", |
| 336 |
"scripts": { |
| 337 |
"test": "npm run lint && node test.js && npm run coverage-quiet", |
| 338 |
"coverage": "covert test.js", |
| 339 |
"coverage-quiet": "covert test.js --quiet", |
| 340 |
"lint": "npm run jscs && npm run eslint", |
| 341 |
"jscs": "jscs *.js", |
| 342 |
"eslint": "eslint *.js" |
| 343 |
}, |
| 344 |
"repository": { |
| 345 |
"type": "git", |
| 346 |
"url": "git://github.com/ljharb/is-negative-zero.git" |
| 347 |
}, |
| 348 |
"bugs": { |
| 349 |
"url": "https://github.com/ljharb/is-negative-zero/issues" |
| 350 |
}, |
| 351 |
"homepage": "https://github.com/ljharb/is-negative-zero", |
| 352 |
"keywords": [ |
| 353 |
"is", |
| 354 |
"negative", |
| 355 |
"zero", |
| 356 |
"negative zero", |
| 357 |
"number", |
| 358 |
"positive", |
| 359 |
"0", |
| 360 |
"-0" |
| 361 |
], |
| 362 |
"dependencies": {}, |
| 363 |
"devDependencies": { |
| 364 |
"tape": "^4.0.1", |
| 365 |
"covert": "^1.1.0", |
| 366 |
"jscs": "^1.13.1", |
| 367 |
"eslint": "^1.0.0-rc-3", |
| 368 |
"@ljharb/eslint-config": "^1.0.3" |
| 369 |
}, |
| 370 |
"testling": { |
| 371 |
"files": "test.js", |
| 372 |
"browsers": [ |
| 373 |
"iexplore/6.0..latest", |
| 374 |
"firefox/3.0..6.0", |
| 375 |
"firefox/15.0..latest", |
| 376 |
"firefox/nightly", |
| 377 |
"chrome/4.0..10.0", |
| 378 |
"chrome/20.0..latest", |
| 379 |
"chrome/canary", |
| 380 |
"opera/10.0..12.0", |
| 381 |
"opera/15.0..latest", |
| 382 |
"opera/next", |
| 383 |
"safari/4.0..latest", |
| 384 |
"ipad/6.0..latest", |
| 385 |
"iphone/6.0..latest", |
| 386 |
"android-browser/4.2" |
| 387 |
] |
| 388 |
}, |
| 389 |
"engines": { |
| 390 |
"node": ">= 0.4" |
| 391 |
}, |
| 392 |
"gitHead": "e387d0e5fdc75b6bf49efa43d2f9afe0c69fc68f", |
| 393 |
"_id": "[email protected]", |
| 394 |
"_shasum": "9553b121b0fac28869da9ed459e20c7543788461", |
| 395 |
"_from": ".", |
| 396 |
"_npmVersion": "2.13.0", |
| 397 |
"_nodeVersion": "2.4.0", |
| 398 |
"_npmUser": { |
| 399 |
"name": "ljharb", |
| 400 |
"email": "[email protected]" |
| 401 |
}, |
| 402 |
"dist": { |
| 403 |
"shasum": "9553b121b0fac28869da9ed459e20c7543788461", |
| 404 |
"tarball": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz" |
| 405 |
}, |
| 406 |
"maintainers": [ |
| 407 |
{ |
| 408 |
"name": "ljharb", |
| 409 |
"email": "[email protected]" |
| 410 |
} |
| 411 |
], |
| 412 |
"directories": {} |
| 413 |
} |
| 414 |
}, |
| 415 |
"readme": "#is-negative-zero <sup>[![Version Badge][2]][1]</sup>\n\n[![Build Status][3]][4]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\n[![browser support][9]][10]\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[1]: https://npmjs.org/package/is-negative-zero\n[2]: http://vb.teelaun.ch/ljharb/is-negative-zero.svg\n[3]: https://travis-ci.org/ljharb/is-negative-zero.svg\n[4]: https://travis-ci.org/ljharb/is-negative-zero\n[5]: https://david-dm.org/ljharb/is-negative-zero.svg\n[6]: https://david-dm.org/ljharb/is-negative-zero\n[7]: https://david-dm.org/ljharb/is-negative-zero/dev-status.svg\n[8]: https://david-dm.org/ljharb/is-negative-zero#info=devDependencies\n[9]: https://ci.testling.com/ljharb/is-negative-zero.png\n[10]: https://ci.testling.com/ljharb/is-negative-zero\n[11]: https://nodei.co/npm/is-negative-zero.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/is-negative-zero.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/is-negative-zero.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=is-negative-zero\n\n", |
| 416 |
"maintainers": [ |
| 417 |
{ |
| 418 |
"email": "[email protected]", |
| 419 |
"name": "ljharb" |
| 420 |
} |
| 421 |
], |
| 422 |
"time": { |
| 423 |
"modified": "2019-11-12T20:29:33.214Z", |
| 424 |
"created": "2014-01-20T07:28:03.828Z", |
| 425 |
"0.0.0": "2014-01-20T07:28:03.828Z", |
| 426 |
"0.1.0": "2014-05-13T23:56:14.193Z", |
| 427 |
"0.1.1": "2014-05-14T06:42:22.193Z", |
| 428 |
"1.0.0": "2014-08-08T19:49:39.755Z", |
| 429 |
"2.0.0": "2015-07-25T04:27:39.097Z" |
| 430 |
}, |
| 431 |
"readmeFilename": "README.md", |
| 432 |
"users": {}, |
| 433 |
"homepage": "https://github.com/ljharb/is-negative-zero", |
| 434 |
"keywords": [ |
| 435 |
"is", |
| 436 |
"negative", |
| 437 |
"zero", |
| 438 |
"negative zero", |
| 439 |
"number", |
| 440 |
"positive", |
| 441 |
"0", |
| 442 |
"-0" |
| 443 |
], |
| 444 |
"repository": { |
| 445 |
"type": "git", |
| 446 |
"url": "git://github.com/ljharb/is-negative-zero.git" |
| 447 |
}, |
| 448 |
"author": { |
| 449 |
"name": "Jordan Harband" |
| 450 |
}, |
| 451 |
"bugs": { |
| 452 |
"url": "https://github.com/ljharb/is-negative-zero/issues" |
| 453 |
}, |
| 454 |
"license": "MIT" |
| 455 |
} |