{"_id":"validate.io-number","_rev":"13-cf2e41d12ae925fef8de351344fc845d","name":"validate.io-number","description":"Validates if a value is a number.","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.0":{"name":"validate.io-number","version":"0.0.0","description":"Validates if a value is a number.","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/number.git"},"keywords":["validate.io","validate","validation","validator"],"bugs":{"url":"https://github.com/validate-io/number/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":"748c4a501c0903f35a9cbee204b76aee8fabbff8","homepage":"https://github.com/validate-io/number","_id":"validate.io-number@0.0.0","_shasum":"03c24b1dfa0e4b03ae897b571ba2d00f0915f7b5","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"03c24b1dfa0e4b03ae897b571ba2d00f0915f7b5","tarball":"https://registry.npmjs.org/validate.io-number/-/validate.io-number-0.0.0.tgz","integrity":"sha512-1BIxnNXv+tshbrgxLWZ2PZvMs1A58V1BSjGReid+dPFymNTOVPEK8Qhrp+JvXi23faL4/rVAulfH7ctD0Dn6ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFTmeqgMpnZhI28BOgPmO/4bKX0xlmpYUCneWbh+D+rgIgfZQXNi29MJsA7EyHJUeOxTSnY7lwyf9ZybVbmJcV3pQ="}]}},"1.0.0":{"name":"validate.io-number","version":"1.0.0","description":"Validates if a value is a number.","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/number.git"},"keywords":["validate.io","validate","validation","validator"],"bugs":{"url":"https://github.com/validate-io/number/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":"e7fe78926d59bdcbb327aaa261612cf9ac330234","homepage":"https://github.com/validate-io/number","_id":"validate.io-number@1.0.0","_shasum":"442f26f2239c80d9b41cdea025b9341a3465fe3e","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"442f26f2239c80d9b41cdea025b9341a3465fe3e","tarball":"https://registry.npmjs.org/validate.io-number/-/validate.io-number-1.0.0.tgz","integrity":"sha512-QNLepjxGUfUNrqITLdgXumWnjGcXfdZX8TwTIjSyTNi2gzZFIWKPqKTlON3zNPdwL5dMX/I48eahwu658jxYjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHyQsowRUN6JXgrT/cOBzG/0RQqA59kl5qnFwp+ldjXgAiBTNEGoQItKkwRbi3h9LPPk7+uHONUN+Rz/hnqrScaRNA=="}]}},"1.0.1":{"name":"validate.io-number","version":"1.0.1","description":"Validates if a value is a number.","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/number.git"},"keywords":["validate.io","validate","validation","validator","number","numeric"],"bugs":{"url":"https://github.com/validate-io/number/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":"276a4a63077c0c8885692ad019a6334c0007b2d8","homepage":"https://github.com/validate-io/number","_id":"validate.io-number@1.0.1","_shasum":"f5ec3b7319d0cfc4de4dc7ca2fd4e8d5f5d56905","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"f5ec3b7319d0cfc4de4dc7ca2fd4e8d5f5d56905","tarball":"https://registry.npmjs.org/validate.io-number/-/validate.io-number-1.0.1.tgz","integrity":"sha512-Izfnw+9wWmnY3C9zlBANwPCfUM48XbSOhpQ+Im+n12/uXLcpWlxgwDY2ZJmoJYMRD6kkcIgQWLob0CzQKIRDbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFgjA8Xcn5lPF3VybEOvfp4vN5msHJxgZ8SQGJXjXicgIgEOV++DKSOBVJo02bxRao58D+k9/Rh8LVzeJJTbOIA0Q="}]}},"1.0.2":{"name":"validate.io-number","version":"1.0.2","description":"Validates if a value is a number.","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/number.git"},"keywords":["validate.io","validate","validation","validator","number","numeric"],"bugs":{"url":"https://github.com/validate-io/number/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":"b0d2ce06091cf5e3b2e0074214d2f272e59025bb","homepage":"https://github.com/validate-io/number","_id":"validate.io-number@1.0.2","_shasum":"31fb081596451f4aaa0bbd1dd48df1c6e08a2615","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"31fb081596451f4aaa0bbd1dd48df1c6e08a2615","tarball":"https://registry.npmjs.org/validate.io-number/-/validate.io-number-1.0.2.tgz","integrity":"sha512-+yz4r0aJWM75m5cPP5hnZ4XCMYXr5rHx96+OY+ZXS65TrntyKo7SrdG1vE1G1dEWlMFlk63j5SSivDCvNOWUvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEuLspT2BqOxCGkRVyM5PAjixebUROyjJ1sLBsSkbsY3AiA646tjd46g3UUnoEjOrY4e24H2djzAMVC+meG9+CR1mg=="}]}},"1.0.3":{"name":"validate.io-number","version":"1.0.3","description":"Validates if a value is a number.","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/number.git"},"keywords":["validate.io","validate","validation","validator","number","numeric","is","type","check","isnumber"],"bugs":{"url":"https://github.com/validate-io/number/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":"cf96f14b140b12b59fe8247e3ea6e811f2523378","homepage":"https://github.com/validate-io/number","_id":"validate.io-number@1.0.3","_shasum":"f63ffeda248bf28a67a8d48e0e3b461a1665baf8","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"f63ffeda248bf28a67a8d48e0e3b461a1665baf8","tarball":"https://registry.npmjs.org/validate.io-number/-/validate.io-number-1.0.3.tgz","integrity":"sha512-kRAyotcbNaSYoDnXvb4MHg/0a1egJdLwS6oJ38TJY7aw9n93Fl/3blIXdyYvPOp55CNxywooG/3BcrwNrBpcSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJiBSupopG7t3KqTN1QCAUoWx6GJmWXT7AgyD/O1jD/AiAbMKgcEvMSZwkYFJ++Ol1ZHhJUTrxSY8gXSKA3o3XPSg=="}]}}},"readme":"Number\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 a number.\n\n\n## Installation\n\n``` bash\n$ npm install validate.io-number\n```\n\nFor use in the browser, use [browserify](https://github.com/substack/node-browserify).\n\n\n## Usage\n\n``` javascript\nvar isNumber = require( 'validate.io-number' );\n```\n\n#### isNumber( value )\n\nValidates if a `value` is a `number`.\n\n``` javascript\nvar value = Math.PI;\n\nvar bool = isNumber( value );\n// returns true\n```\n\n\n\n## Examples\n\n``` javascript\nconsole.log( isNumber( 5 ) );\n// returns true\n\nconsole.log( isNumber( new Number( 5 ) ) );\n// returns true \n\nconsole.log( isNumber( NaN ) );\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-number.svg\n[npm-url]: https://npmjs.org/package/validate.io-number\n\n[travis-image]: http://img.shields.io/travis/validate-io/number/master.svg\n[travis-url]: https://travis-ci.org/validate-io/number\n\n[coveralls-image]: https://img.shields.io/coveralls/validate-io/number/master.svg\n[coveralls-url]: https://coveralls.io/r/validate-io/number?branch=master\n\n[dependencies-image]: http://img.shields.io/david/validate-io/number.svg\n[dependencies-url]: https://david-dm.org/validate-io/number\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/validate-io/number.svg\n[dev-dependencies-url]: https://david-dm.org/dev/validate-io/number\n\n[github-issues-image]: http://img.shields.io/github/issues/validate-io/number.svg\n[github-issues-url]: https://github.com/validate-io/number/issues\n","maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"time":{"modified":"2022-06-28T08:34:08.369Z","created":"2014-08-31T07:01:53.316Z","0.0.0":"2014-08-31T07:01:53.316Z","1.0.0":"2014-09-01T18:30:40.611Z","1.0.1":"2015-02-19T22:29:06.551Z","1.0.2":"2015-02-20T02:33:34.262Z","1.0.3":"2015-02-20T10:55:18.812Z"},"homepage":"https://github.com/validate-io/number","keywords":["validate.io","validate","validation","validator","number","numeric","is","type","check","isnumber"],"repository":{"type":"git","url":"git://github.com/validate-io/number.git"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"bugs":{"url":"https://github.com/validate-io/number/issues"},"readmeFilename":"README.md","users":{"sky3r":true}}