{"_id":"is-nan","_rev":"32696","name":"is-nan","description":"ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.","dist-tags":{"latest":"1.3.2"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2021-06-03T10:05:49.000Z","created":"2014-01-20T08:12:31.399Z","1.3.2":"2020-12-24T05:43:43.536Z","1.3.1":"2020-12-24T05:39:35.084Z","1.3.0":"2019-12-15T17:52:56.953Z","1.2.1":"2015-08-16T19:28:43.654Z","1.2.0":"2015-08-16T09:46:15.740Z","1.1.0":"2015-06-25T05:02:13.768Z","1.0.1":"2014-07-05T18:17:10.415Z","0.0.0":"2014-01-20T08:12:31.399Z"},"users":{"ljharb":true,"tunnckocore":true,"rocket0191":true},"author":{"name":"Jordan Harband"},"repository":{"type":"git","url":"git://github.com/es-shims/is-nan.git"},"versions":{"1.3.2":{"name":"is-nan","version":"1.3.2","description":"ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.","author":{"name":"Jordan Harband"},"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 .","postlint":"es-shim-api --bound"},"repository":{"type":"git","url":"git://github.com/es-shims/is-nan.git"},"bugs":{"url":"https://github.com/es-shims/is-nan/issues"},"homepage":"https://github.com/es-shims/is-nan","keywords":["is","NaN","not a number","number","isNaN","ES6","ES2015","shim","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.0","define-properties":"^1.1.3"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.3.0","aud":"^1.1.3","es5-shim":"^4.5.14","eslint":"^7.16.0","functions-have-names":"^1.2.2","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.0.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"},"gitHead":"6a83a0a7d12cdd1a10933b5b32e5d9acb57297cc","_id":"is-nan@1.3.2","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"shasum":"043a54adea31748b55b6cd4e09aadafa69bd9e1d","size":4501,"noattachment":false,"key":"/is-nan/-/is-nan-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-nan/download/is-nan-1.3.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-nan_1.3.2_1608788623388_0.934785130238267"},"_hasShrinkwrap":false,"publish_time":1608788623536,"_cnpm_publish_time":1608788623536},"1.3.1":{"name":"is-nan","version":"1.3.1","description":"ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.","author":{"name":"Jordan Harband"},"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 .","postlint":"es-shim-api --bound"},"repository":{"type":"git","url":"git://github.com/es-shims/is-nan.git"},"bugs":{"url":"https://github.com/es-shims/is-nan/issues"},"homepage":"https://github.com/es-shims/is-nan","keywords":["is","NaN","not a number","number","isNaN","ES6","ES2015","shim","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.0","define-properties":"^1.1.3"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.3.0","aud":"^1.1.3","es5-shim":"^4.5.14","eslint":"^7.16.0","functions-have-names":"^1.2.2","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.0.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"},"gitHead":"0217c946be00926bd4352c41a107f2697e00314b","_id":"is-nan@1.3.1","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"shasum":"673cf9fe1c63010d83c20c728257b928829b2951","size":5379,"noattachment":false,"key":"/is-nan/-/is-nan-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-nan/download/is-nan-1.3.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-nan_1.3.1_1608788374985_0.349803921422132"},"_hasShrinkwrap":false,"publish_time":1608788375084,"_cnpm_publish_time":1608788375084},"1.3.0":{"name":"is-nan","version":"1.3.0","description":"ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.","author":{"name":"Jordan Harband"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"pretest":"npm run lint && es-shim-api","test":"npm run tests-only","tests-only":"npm run test:function && npm run --silent test:shimmed","test:function":"node test/index","test:shimmed":"node test/shimmed","posttest":"npx aud","coverage":"covert test/*.js","lint":"eslint ."},"repository":{"type":"git","url":"git://github.com/es-shims/is-nan.git"},"bugs":{"url":"https://github.com/es-shims/is-nan/issues"},"homepage":"https://github.com/es-shims/is-nan","keywords":["is","NaN","not a number","number","isNaN","ES6","ES2015","shim","polyfill","es-shim API"],"dependencies":{"define-properties":"^1.1.3"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^15.0.2","covert":"^1.1.1","es5-shim":"^4.5.13","eslint":"^6.7.2","functions-have-names":"^1.2.0","tape":"^4.11.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":"e5f1b2509aed23d1556cf1177020997f3b2b12b1","_id":"is-nan@1.3.0","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"shasum":"85d1f5482f7051c2019f5673ccebdb06f3b0db03","size":4390,"noattachment":false,"key":"/is-nan/-/is-nan-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-nan/download/is-nan-1.3.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-nan_1.3.0_1576432376825_0.7948349531814971"},"_hasShrinkwrap":false,"publish_time":1576432376953,"_cnpm_publish_time":1576432376953},"1.2.1":{"name":"is-nan","version":"1.2.1","description":"ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"npm run lint && es-shim-api && npm run tests-only && npm run security","tests-only":"npm run test:function && npm run test:shimmed","test:function":"node test/index.js","test:shimmed":"node test/shimmed.js","coverage":"covert test/*.js","coverage-quiet":"covert test/*.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs *.js test/*.js","eslint":"eslint *.js test/*.js","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/is-nan.git"},"bugs":{"url":"https://github.com/ljharb/is-nan/issues"},"homepage":"https://github.com/ljharb/is-nan","keywords":["is","NaN","not a number","number","isNaN","ES6","shim","polyfill","es-shim API"],"dependencies":{"define-properties":"^1.1.1"},"devDependencies":{"tape":"^4.2.0","covert":"^1.1.0","jscs":"^2.1.0","eslint":"^1.1.0","@ljharb/eslint-config":"^1.0.4","es5-shim":"^4.1.10","@es-shims/api":"^1.0.0","nsp":"^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":"62863e6ffd7006292adf9293365cb007786500b8","_id":"is-nan@1.2.1","_shasum":"9faf65b6fb6db24b7f5c0628475ea71f988401e2","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"9faf65b6fb6db24b7f5c0628475ea71f988401e2","size":4910,"noattachment":false,"key":"/is-nan/-/is-nan-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-nan/download/is-nan-1.2.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1439753323654,"_cnpm_publish_time":1439753323654,"_hasShrinkwrap":false},"1.2.0":{"name":"is-nan","version":"1.2.0","description":"ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"npm run lint && es-shim-api && npm run tests-only && npm run security","tests-only":"npm run test:function && npm run test:shimmed","test:function":"node test/index.js","test:shimmed":"node test/shimmed.js","coverage":"covert test/*.js","coverage-quiet":"covert test/*.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs *.js test/*.js","eslint":"eslint *.js test/*.js","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/is-nan.git"},"bugs":{"url":"https://github.com/ljharb/is-nan/issues"},"homepage":"https://github.com/ljharb/is-nan","keywords":["is","NaN","not a number","number","isNaN","ES6","shim","polyfill"],"dependencies":{"define-properties":"^1.1.1"},"devDependencies":{"tape":"^4.2.0","covert":"^1.1.0","jscs":"^2.1.0","eslint":"^1.1.0","@ljharb/eslint-config":"^1.0.4","es5-shim":"^4.1.10","@es-shims/api":"^1.0.0","nsp":"^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":"74b6bc30b9c2a5a4bccafc5610d8f73ae1b6c90b","_id":"is-nan@1.2.0","_shasum":"f61fe73f5b957e6b58b8ac8f566ebb92a1079f27","_from":".","_npmVersion":"2.14.0","_nodeVersion":"3.0.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"f61fe73f5b957e6b58b8ac8f566ebb92a1079f27","size":4875,"noattachment":false,"key":"/is-nan/-/is-nan-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-nan/download/is-nan-1.2.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1439718375740,"_cnpm_publish_time":1439718375740,"_hasShrinkwrap":false},"1.1.0":{"name":"is-nan","version":"1.1.0","description":"ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"npm run lint && npm run test:function && npm run test:shimmed","test:function":"node test/index.js","test:shimmed":"node test/shimmed.js","coverage":"covert test/*.js","coverage-quiet":"covert test/*.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs *.js test/*.js","eslint":"eslint *.js test/*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/is-nan.git"},"bugs":{"url":"https://github.com/ljharb/is-nan/issues"},"homepage":"https://github.com/ljharb/is-nan","keywords":["is","NaN","not a number","number","isNaN","ES6","shim","polyfill"],"dependencies":{"define-properties":"^1.0.2"},"devDependencies":{"tape":"^4.0.0","covert":"^1.1.0","jscs":"^1.13.1","eslint":"^0.23.0","es5-shim":"^4.1.7"},"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":"c8f3ed89e365cbfd97e57d12afb95caeedf47c8d","_id":"is-nan@1.1.0","_shasum":"11b6fcb54f1fec0cd391af7e1b223891708a36c7","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.1","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"11b6fcb54f1fec0cd391af7e1b223891708a36c7","size":5807,"noattachment":false,"key":"/is-nan/-/is-nan-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-nan/download/is-nan-1.1.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1435208533768,"_cnpm_publish_time":1435208533768,"_hasShrinkwrap":false},"1.0.1":{"name":"is-nan","version":"1.0.1","description":"ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.","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/is-nan.git"},"bugs":{"url":"https://github.com/ljharb/is-nan/issues"},"homepage":"https://github.com/ljharb/is-nan","keywords":["is","NaN","not a number","number","isNaN","ES6","shim","polyfill"],"dependencies":{},"devDependencies":{"tape":"~2.13.1","covert":"~0.4.0","jscs":"~1.5.8"},"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":"93dfd9c6f73283ddc74a28e40e276742af9104c5","_id":"is-nan@1.0.1","_shasum":"36dcf2b7fe33da2bab0a40ec7934e9a54e2284d7","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"36dcf2b7fe33da2bab0a40ec7934e9a54e2284d7","size":3099,"noattachment":false,"key":"/is-nan/-/is-nan-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-nan/download/is-nan-1.0.1.tgz"},"directories":{},"publish_time":1404584230415,"_cnpm_publish_time":1404584230415,"_hasShrinkwrap":false},"0.0.0":{"name":"is-nan","version":"0.0.0","description":"ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.","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-nan.git"},"bugs":{"url":"https://github.com/ljharb/is-nan/issues"},"homepage":"https://github.com/ljharb/is-nan","keywords":["is","NaN","not a number","number","isNaN","ES6","shim","polyfill"],"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-nan@0.0.0","dist":{"shasum":"33532fd4b8ceeb985ea6bc067f850e228764b170","size":2410,"noattachment":false,"key":"/is-nan/-/is-nan-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-nan/download/is-nan-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1390205551399,"_cnpm_publish_time":1390205551399,"_hasShrinkwrap":false}},"readme":"# is-nan <sup>[![Version Badge][2]][1]</sup>\n\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\nES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan).\n\n## Example\n\n```js\nNumber.isNaN = require('is-nan');\nvar assert = require('assert');\n\nassert.notOk(Number.isNaN(undefined));\nassert.notOk(Number.isNaN(null));\nassert.notOk(Number.isNaN(false));\nassert.notOk(Number.isNaN(true));\nassert.notOk(Number.isNaN(0));\nassert.notOk(Number.isNaN(42));\nassert.notOk(Number.isNaN(Infinity));\nassert.notOk(Number.isNaN(-Infinity));\nassert.notOk(Number.isNaN('foo'));\nassert.notOk(Number.isNaN(function () {}));\nassert.notOk(Number.isNaN([]));\nassert.notOk(Number.isNaN({}));\n\nassert.ok(Number.isNaN(NaN));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-nan\n[2]: https://versionbadg.es/es-shims/is-nan.svg\n[5]: https://david-dm.org/es-shims/is-nan.svg\n[6]: https://david-dm.org/es-shims/is-nan\n[7]: https://david-dm.org/es-shims/is-nan/dev-status.svg\n[8]: https://david-dm.org/es-shims/is-nan#info=devDependencies\n[11]: https://nodei.co/npm/is-nan.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-nan.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-nan.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-nan\n","_attachments":{},"homepage":"https://github.com/es-shims/is-nan","bugs":{"url":"https://github.com/es-shims/is-nan/issues"},"license":"MIT"}