{"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"keywords":["check","coerce","coercion","integer","is","is-nan","is-num","is-number","istype","kind","math","nan","num","number","numeric","test","type","typeof","value"],"dist-tags":{"latest":"3.0.0"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"description":"Returns true if the value is a number. comprehensive tests.","readme":"# is-number [![NPM version](https://img.shields.io/npm/v/is-number.svg?style=flat)](https://www.npmjs.com/package/is-number) [![NPM downloads](https://img.shields.io/npm/dm/is-number.svg?style=flat)](https://npmjs.org/package/is-number) [![Build Status](https://img.shields.io/travis/jonschlinkert/is-number.svg?style=flat)](https://travis-ci.org/jonschlinkert/is-number)\n\n> Returns true if the value is a number. comprehensive tests.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save is-number\n```\n\n## Usage\n\nTo understand some of the rationale behind the decisions made in this library (and to learn about some oddities of number evaluation in JavaScript), [see this gist](https://gist.github.com/jonschlinkert/e30c70c713da325d0e81).\n\n```js\nvar isNumber = require('is-number');\n```\n\n### true\n\nSee the [tests](./test.js) for more examples.\n\n```js\nisNumber(5e3)      //=> 'true'\nisNumber(0xff)     //=> 'true'\nisNumber(-1.1)     //=> 'true'\nisNumber(0)        //=> 'true'\nisNumber(1)        //=> 'true'\nisNumber(1.1)      //=> 'true'\nisNumber(10)       //=> 'true'\nisNumber(10.10)    //=> 'true'\nisNumber(100)      //=> 'true'\nisNumber('-1.1')   //=> 'true'\nisNumber('0')      //=> 'true'\nisNumber('012')    //=> 'true'\nisNumber('0xff')   //=> 'true'\nisNumber('1')      //=> 'true'\nisNumber('1.1')    //=> 'true'\nisNumber('10')     //=> 'true'\nisNumber('10.10')  //=> 'true'\nisNumber('100')    //=> 'true'\nisNumber('5e3')    //=> 'true'\nisNumber(parseInt('012'))   //=> 'true'\nisNumber(parseFloat('012')) //=> 'true'\n```\n\n### False\n\nSee the [tests](./test.js) for more examples.\n\n```js\nisNumber('foo')             //=> 'false'\nisNumber([1])               //=> 'false'\nisNumber([])                //=> 'false'\nisNumber(function () {})    //=> 'false'\nisNumber(Infinity)          //=> 'false'\nisNumber(NaN)               //=> 'false'\nisNumber(new Array('abc'))  //=> 'false'\nisNumber(new Array(2))      //=> 'false'\nisNumber(new Buffer('abc')) //=> 'false'\nisNumber(null)              //=> 'false'\nisNumber(undefined)         //=> 'false'\nisNumber({abc: 'abc'})      //=> 'false'\n```\n\n## About\n\n### Related projects\n\n* [even](https://www.npmjs.com/package/even): Get the even numbered items from an array. | [homepage](https://github.com/jonschlinkert/even \"Get the even numbered items from an array.\")\n* [is-even](https://www.npmjs.com/package/is-even): Return true if the given number is even. | [homepage](https://github.com/jonschlinkert/is-even \"Return true if the given number is even.\")\n* [is-odd](https://www.npmjs.com/package/is-odd): Returns true if the given number is odd. | [homepage](https://github.com/jonschlinkert/is-odd \"Returns true if the given number is odd.\")\n* [is-primitive](https://www.npmjs.com/package/is-primitive): Returns `true` if the value is a primitive.  | [homepage](https://github.com/jonschlinkert/is-primitive \"Returns `true` if the value is a primitive. \")\n* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of \"Get the native type of a value.\")\n* [odd](https://www.npmjs.com/package/odd): Get the odd numbered items from an array. | [homepage](https://github.com/jonschlinkert/odd \"Get the odd numbered items from an array.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/jonschlinkert/is-number/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.30, on September 10, 2016._","repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-number.git"},"users":{"jonschlinkert":true,"antanst":true,"rocket0191":true},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"license":"MIT","versions":{"0.1.0":{"name":"is-number","description":"Is the value a number?","version":"0.1.0","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/is-number/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb-tag-jscomments":">= 0.2.0","verb":">= 0.2.6","mocha":"*"},"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"_id":"is-number@0.1.0","_shasum":"4407a37aec259352affb5548886744ba4903f8bd","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4407a37aec259352affb5548886744ba4903f8bd","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-0.1.0.tgz"},"directories":{}},"0.1.1":{"name":"is-number","description":"Is the value a number? Has extensive tests.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/is-number/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb-tag-jscomments":">= 0.2.0","verb":">= 0.2.6","mocha":"*"},"keywords":["coerce","coercion","integer","is","istype","javascript","math","number","test","type","typeof","util","utility","value"],"_id":"is-number@0.1.1","_shasum":"69a7af116963d47206ec9bd9b48a14216f1e3806","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"69a7af116963d47206ec9bd9b48a14216f1e3806","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-0.1.1.tgz"},"directories":{}},"1.0.0":{"name":"is-number","description":"Returns true if the value is a number. comprehensive tests.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-number/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"files":["index.js"],"devDependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1"},"keywords":["check","coerce","coercion","integer","is number","is","is-number","istype","kind of","math","number","test","type","typeof","value"],"gitHead":"3183207ab31bb09c65ad8999c39090a3c0530526","_id":"is-number@1.0.0","_shasum":"de821e3936a8996badeb879ca6f93605e769d498","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"de821e3936a8996badeb879ca6f93605e769d498","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-1.0.0.tgz"},"directories":{}},"1.1.0":{"name":"is-number","description":"Returns true if the value is a number. comprehensive tests.","version":"1.1.0","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-number/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"files":["index.js"],"devDependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1"},"keywords":["check","coerce","coercion","integer","is number","is","is-number","istype","kind of","math","number","test","type","typeof","value"],"gitHead":"3183207ab31bb09c65ad8999c39090a3c0530526","_id":"is-number@1.1.0","_shasum":"620db9e22fded44d43d8e3e47044319083d31855","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"620db9e22fded44d43d8e3e47044319083d31855","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-1.1.0.tgz"},"directories":{}},"1.1.1":{"name":"is-number","description":"Returns true if the value is a number. comprehensive tests.","version":"1.1.1","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-number/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1"},"keywords":["check","coerce","coercion","integer","is number","is","is-number","istype","kind of","math","number","test","type","typeof","value"],"gitHead":"5184d76c622b97d45486340a85147c6d59d14e25","_id":"is-number@1.1.1","_shasum":"e393e7ec07c17770dbb67941e7f89c675feb110f","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e393e7ec07c17770dbb67941e7f89c675feb110f","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-1.1.1.tgz"},"directories":{}},"1.1.2":{"name":"is-number","description":"Returns true if the value is a number. comprehensive tests.","version":"1.1.2","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-number/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","mocha":"^2.1.0"},"keywords":["check","coerce","coercion","integer","is number","is","is-number","istype","kind of","math","number","test","type","typeof","value"],"gitHead":"a902495bca1f471beaa8deb6193ba628bf80c0e4","_id":"is-number@1.1.2","_shasum":"9d82409f3a8a8beecf249b1bc7dada49829966e4","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9d82409f3a8a8beecf249b1bc7dada49829966e4","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-1.1.2.tgz"},"directories":{}},"2.0.0":{"name":"is-number","description":"Returns true if the value is a number. comprehensive tests.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-number/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","mocha":"^2.1.0"},"keywords":["check","coerce","coercion","integer","is number","is","is-number","istype","kind of","math","number","test","type","typeof","value"],"gitHead":"d5ac0584ee9ae7bd9288220a39780f155b9ad4c8","_id":"is-number@2.0.0","_shasum":"451c78bfe6c427f37bc2a406226e0cde449f3b5a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"451c78bfe6c427f37bc2a406226e0cde449f3b5a","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-2.0.0.tgz"},"directories":{}},"2.0.1":{"name":"is-number","description":"Returns true if the value is a number. comprehensive tests.","version":"2.0.1","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-number/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","mocha":"^2.1.0"},"keywords":["check","coerce","coercion","integer","is number","is","is-number","istype","kind of","math","number","test","type","typeof","value"],"dependencies":{"kind-of":"^1.1.0"},"gitHead":"bb9b2e19a9aa2ed4b1e7a5d27e43417c8c9570c0","_id":"is-number@2.0.1","_shasum":"a3754e651f0df489f290ee0a1102c87cc5a0db02","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a3754e651f0df489f290ee0a1102c87cc5a0db02","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-2.0.1.tgz"},"directories":{}},"2.0.2":{"name":"is-number","description":"Returns true if the value is a number. comprehensive tests.","version":"2.0.2","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-number/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","mocha":"^2.1.0"},"keywords":["check","coerce","coercion","integer","is number","is","is-number","istype","kind of","math","number","test","type","typeof","value"],"dependencies":{"kind-of":"^1.1.0"},"gitHead":"63d5b26c793194bf7f341a7203e0e5568c753539","_id":"is-number@2.0.2","_shasum":"c7542a0f420610655834cd3825bc2f0eb72afe21","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c7542a0f420610655834cd3825bc2f0eb72afe21","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-2.0.2.tgz"},"directories":{}},"2.1.0":{"name":"is-number","description":"Returns true if the value is a number. comprehensive tests.","version":"2.1.0","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^3.0.2"},"devDependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","mocha":"*"},"keywords":["check","coerce","coercion","integer","is","is number","is-number","istype","kind of","math","number","test","type","typeof","value"],"verb":{"related":{"list":["kind-of","is-primitive","even","odd","is-even","is-odd"]}},"gitHead":"d06c6e2cc048d3cad016cb8dfb055bb14d86fffa","_id":"is-number@2.1.0","_shasum":"01fcbbb393463a548f2f466cce16dece49db908f","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"01fcbbb393463a548f2f466cce16dece49db908f","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-2.1.0.tgz"},"directories":{}},"3.0.0":{"name":"is-number","description":"Returns true if the value is a number. comprehensive tests.","version":"3.0.0","homepage":"https://github.com/jonschlinkert/is-number","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Charlike Mike Reagent","url":"http://www.tunnckocore.tk"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-number.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-number/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^3.0.2"},"devDependencies":{"benchmarked":"^0.2.5","chalk":"^1.1.3","gulp-format-md":"^0.1.10","mocha":"^3.0.2"},"keywords":["check","coerce","coercion","integer","is","is-nan","is-num","is-number","istype","kind","math","nan","num","number","numeric","test","type","typeof","value"],"verb":{"related":{"list":["even","is-even","is-odd","is-primitive","kind-of","odd"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb","verb-generate-readme"]},"gitHead":"af885e2e890b9ef0875edd2b117305119ee5bdc5","_id":"is-number@3.0.0","_shasum":"24fd6201a4782cf50561c810276afc7d12d71195","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"24fd6201a4782cf50561c810276afc7d12d71195","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-number/-/is-number-3.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-number-3.0.0.tgz_1473555089490_0.21388969756662846"},"directories":{}}},"name":"is-number","contributors":[{"name":"Charlike Mike Reagent","url":"http://www.tunnckocore.tk"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"time":{"modified":"2017-05-12T21:45:13.996Z","created":"2014-09-22T01:58:51.592Z","0.1.0":"2014-09-22T01:58:51.592Z","0.1.1":"2014-09-22T03:37:27.931Z","1.0.0":"2015-01-24T10:16:54.470Z","1.1.0":"2015-01-24T10:33:21.598Z","1.1.1":"2015-03-05T18:37:07.633Z","1.1.2":"2015-03-05T18:57:33.841Z","2.0.0":"2015-05-02T08:11:57.926Z","2.0.1":"2015-05-03T04:27:13.630Z","2.0.2":"2015-05-03T05:59:55.976Z","2.1.0":"2015-11-22T13:56:56.624Z","3.0.0":"2016-09-11T00:51:30.912Z"},"readmeFilename":"README.md","homepage":"https://github.com/jonschlinkert/is-number"}