{"_id":"validate.io-nan","_rev":"12-9d6a74bb706b8a99c52edcd0d5a52a74","name":"validate.io-nan","description":"Validates if a value is NaN.","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.0":{"name":"validate.io-nan","version":"0.0.0","description":"Validates if a value is NaN.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/nan.git"},"keywords":["validate.io","validate","validation","validator"],"bugs":{"url":"https://github.com/validate-io/nan/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"b7504c0589b3706f5d91249b7e3ee4163bc358af","homepage":"https://github.com/validate-io/nan","_id":"validate.io-nan@0.0.0","_shasum":"19daf270358dc4a58c2f8e5878e406b1942f6379","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"19daf270358dc4a58c2f8e5878e406b1942f6379","tarball":"https://registry.npmjs.org/validate.io-nan/-/validate.io-nan-0.0.0.tgz","integrity":"sha512-6cQbCcLyg0hSGIfrp3E08j7ZslMkDLK6ByjcIZ6EflVHJ7OY3tRsfKymC2oxqO0le+qOOkhDHKVriY0JbfLzOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZhqIW/Gd9fI40gfyUgwnyayZTlFAYvTQ/o6wzzOSSrAiEAk9RHyc3leM3qFg5EnLmHPGWZHwLRRac8FPmBKS8MNzA="}]}},"1.0.0":{"name":"validate.io-nan","version":"1.0.0","description":"Validates if a value is NaN.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/nan.git"},"keywords":["validate.io","validate","validation","validator"],"bugs":{"url":"https://github.com/validate-io/nan/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"8feb2cf8f38ee75fd0dd4b5431da1aa49affe44c","homepage":"https://github.com/validate-io/nan","_id":"validate.io-nan@1.0.0","_shasum":"692137077b1d335b0ac55784d7f6a5e59032f36c","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"692137077b1d335b0ac55784d7f6a5e59032f36c","tarball":"https://registry.npmjs.org/validate.io-nan/-/validate.io-nan-1.0.0.tgz","integrity":"sha512-odHOPvyTAHEGDmNNk+Rm7pomDOfPeMfsGgPAAFW9tRYjUslfeeOkByhRaXHEzHFglBk6VlDBKXE7dSgFG0+oNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLPuOTf11DM8n/Td0VIg+7FfdWtG+SxirJlLi/mmpMNQIhANyv0SXw6t+bWmv/AFg4W7K+m4nRHOf3Sdl6I3z9w2Q2"}]}},"1.0.1":{"name":"validate.io-nan","version":"1.0.1","description":"Validates if a value is NaN.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/nan.git"},"keywords":["validate.io","validate","validation","validator","number","numeric","non-numeric","nan"],"bugs":{"url":"https://github.com/validate-io/nan/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"^2.5.10","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"c24171942d0c66811ac9a1d3600f61886b292ce1","homepage":"https://github.com/validate-io/nan","_id":"validate.io-nan@1.0.1","_shasum":"6b18c350be89374952480328f246eaf3e30e49e2","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"6b18c350be89374952480328f246eaf3e30e49e2","tarball":"https://registry.npmjs.org/validate.io-nan/-/validate.io-nan-1.0.1.tgz","integrity":"sha512-jLnJX8zlHqxrQFMYs2tqGQDLVd8rwEdeDu6B5NRnpjgoX7svZytKrZ7L5GsrSyxV1HTAYH5C0PT87uYm8Pgw9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIADRiRoW3yg+VwRmPyj3c7vVPBuevnITzcm+6TjbmnbXAiEA9aNfCcXr31rju9pTcvIJ4UV0II/V3v1qvbcm2AcCeUQ="}]}},"1.0.2":{"name":"validate.io-nan","version":"1.0.2","description":"Validates if a value is NaN.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/nan.git"},"keywords":["validate.io","validate","validation","validator","number","numeric","non-numeric","nan"],"bugs":{"url":"https://github.com/validate-io/nan/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"^2.5.10","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"0efd5267f0ca51fbc1e18aad9fb5771cbb676365","homepage":"https://github.com/validate-io/nan","_id":"validate.io-nan@1.0.2","_shasum":"a891670d46141e59d73ec71ff688b4301e9423b5","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"a891670d46141e59d73ec71ff688b4301e9423b5","tarball":"https://registry.npmjs.org/validate.io-nan/-/validate.io-nan-1.0.2.tgz","integrity":"sha512-AH8uLqvkGWm6WigO6iqMMf58dVkhnrIliDUMVMZoEBH4qPcxtgYDNHwhDBfsmOjXODrsAB4/JDGUusz8HFcM5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLb5GrZ9+M+AcaRzrI7EKVkp+BPIj+m1yGyND60ltYQQIgTFFC9ZXSi51bCS3qyWTKeQWc3aT3JpImGa6qNG/lII8="}]}},"1.0.3":{"name":"validate.io-nan","version":"1.0.3","description":"Validates if a value is NaN.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/nan.git"},"keywords":["validate.io","validate","validation","validator","number","numeric","non-numeric","nan","is","isnan","type","check"],"bugs":{"url":"https://github.com/validate-io/nan/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"^2.5.10","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"9c81fbeeaeeb03d594b03cce7a9dbc2bfd38d137","homepage":"https://github.com/validate-io/nan","_id":"validate.io-nan@1.0.3","_shasum":"d438e13868c9cbd37fdba12594de4d8fe14430a4","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"d438e13868c9cbd37fdba12594de4d8fe14430a4","tarball":"https://registry.npmjs.org/validate.io-nan/-/validate.io-nan-1.0.3.tgz","integrity":"sha512-JWGWfWwtXzV4OzD34HJn0bbRq7RFF492SvWKOX+a9tjG/9hN1U/5qIums69jbUqVJ/AKIkjBRCpScMKbiefcsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbo7IrXalKqzmbKfsUPHjHnVEsAmK61rOgchTVcotc3AIhAO/4mFGNBtX69lMCy5D0uHYX32KmiUOQi4uvVIktNIML"}]}}},"readme":"NaN\n===\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependencies][dependencies-image]][dependencies-url]\n\n> Validates if a value is NaN.\n\n\n## Installation\n\n``` bash\n$ npm install validate.io-nan\n```\n\nFor use in the browser, use [browserify](https://github.com/substack/node-browserify).\n\n\n## Usage\n\n``` javascript\nvar isnan = require( 'validate.io-nan' );\n```\n\n#### isnan( value )\n\nValidates if a `value` is `NaN`.\n\n``` javascript\nvar value = NaN;\n\nvar bool = isnan( value );\n// returns true\n```\n\n__Note__: the method first validates that a `value` is `numeric` before validating if a `value` is `NaN`. For non-numeric values, the method returns `false`.\n\n\n## Examples\n\n``` javascript\nconsole.log( isnan( NaN ) );\n// returns true\n\nconsole.log( isnan( '5' ) );\n// returns false\n\nconsole.log( isnan( 5 ) );\n// returns false\n```\n\nTo run the example code from the top-level application directory,\n\n``` bash\n$ node ./examples/index.js\n```\n\n\n## Tests\n\n### Unit\n\nUnit tests use the [Mocha](http://mochajs.org) test framework with [Chai](http://chaijs.com) assertions. To run the tests, execute the following command in the top-level application directory:\n\n``` bash\n$ make test\n```\n\nAll new feature development should have corresponding unit tests to validate correct functionality.\n\n\n### Test Coverage\n\nThis repository uses [Istanbul](https://github.com/gotwarlost/istanbul) as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:\n\n``` bash\n$ make test-cov\n```\n\nIstanbul creates a `./reports/coverage` directory. To access an HTML version of the report,\n\n``` bash\n$ make view-cov\n```\n\n\n---\n## License\n\n[MIT license](http://opensource.org/licenses/MIT). \n\n\n## Copyright\n\nCopyright &copy; 2014. Athan Reines.\n\n\n[npm-image]: http://img.shields.io/npm/v/validate.io-nan.svg\n[npm-url]: https://npmjs.org/package/validate.io-nan\n\n[travis-image]: http://img.shields.io/travis/validate-io/nan/master.svg\n[travis-url]: https://travis-ci.org/validate-io/nan\n\n[coveralls-image]: https://img.shields.io/coveralls/validate-io/nan/master.svg\n[coveralls-url]: https://coveralls.io/r/validate-io/nan?branch=master\n\n[dependencies-image]: http://img.shields.io/david/validate-io/nan.svg\n[dependencies-url]: https://david-dm.org/validate-io/nan\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/validate-io/nan.svg\n[dev-dependencies-url]: https://david-dm.org/dev/validate-io/nan\n\n[github-issues-image]: http://img.shields.io/github/issues/validate-io/nan.svg\n[github-issues-url]: https://github.com/validate-io/nan/issues\n","maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"time":{"modified":"2022-06-28T08:33:23.310Z","created":"2014-08-31T07:36:42.861Z","0.0.0":"2014-08-31T07:36:42.861Z","1.0.0":"2014-09-01T18:29:10.773Z","1.0.1":"2015-02-20T02:28:15.885Z","1.0.2":"2015-02-20T02:31:13.440Z","1.0.3":"2015-02-20T10:54:20.074Z"},"homepage":"https://github.com/validate-io/nan","keywords":["validate.io","validate","validation","validator","number","numeric","non-numeric","nan","is","isnan","type","check"],"repository":{"type":"git","url":"git://github.com/validate-io/nan.git"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"bugs":{"url":"https://github.com/validate-io/nan/issues"},"readmeFilename":"README.md"}