{
  "name": "isnumeric",
  "author": {
    "name": "Lee Crossley",
    "email": "leee@hotmail.co.uk",
    "url": "http://ilee.co.uk/"
  },
  "description": "Determine if a JavaScript object is numeric",
  "homepage": "http://ilee.co.uk",
  "version": "0.0.10",
  "main": "isNumeric.min.js",
  "keywords": [
    "isnumeric",
    "numeric",
    "number"
  ],
  "scripts": {
    "test": "grunt test"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:leecrossley/isNumeric.git"
  },
  "engines": {
    "node": ">= 0.8.x"
  },
  "devDependencies": {
    "grunt": "~0.4.1",
    "grunt-shell": "~0.6.x",
    "grunt-contrib-watch": "~0.5.x",
    "grunt-contrib-jshint": "~0.8.x",
    "grunt-contrib-jasmine": "~0.6.x",
    "grunt-contrib-uglify": "~0.3.x",
    "grunt-cli": "~0.1.x"
  },
  "readme": "# isNumeric [![Build Status](https://travis-ci.org/leecrossley/isNumeric.png?branch=master)](https://travis-ci.org/leecrossley/isNumeric) [![npm version](https://badge.fury.io/js/isnumeric.png)](https://npmjs.org/package/isnumeric) [![devDependency Status](https://david-dm.org/leecrossley/isNumeric/dev-status.png)](https://david-dm.org/leecrossley/isNumeric#info=devDependencies)\n\nDetermine if a JavaScript object is numeric.\n\n### Using npm\n\n```\nnpm install isnumeric\n```\n\nTo then include isnumeric in your node app:\n\n```\nvar isNumeric = require(\"isnumeric\");\n```\n\n### Direct dependency\n\nDownload the minified version [here](http://bit.ly/isnumeric), reference the js file and isNumeric will become a global variable.\n\n\n## Truthy test cases\n\n### Integers\n\n```javascript\nexpect(isNumeric(1)).toBeTruthy();\nexpect(isNumeric(-1)).toBeTruthy();\nexpect(isNumeric(0)).toBeTruthy();\nexpect(isNumeric(\"1\")).toBeTruthy();\nexpect(isNumeric(\"-1\")).toBeTruthy();\nexpect(isNumeric(\"0\")).toBeTruthy();\nexpect(isNumeric(\"1.\")).toBeTruthy();\n```\n\n### Max / min numbers\n\n```javascript\nexpect(isNumeric(Number.MAX_VALUE)).toBeTruthy();\nexpect(isNumeric(Number.MIN_VALUE)).toBeTruthy();\n```\n\n### Octals\n\n```javascript\nexpect(isNumeric(0144)).toBeTruthy();\nexpect(isNumeric(\"0144\")).toBeTruthy();\n```\n\n### Hexadecimals\n\n```javascript\nexpect(isNumeric(0xFF)).toBeTruthy();\nexpect(isNumeric(\"0xFF\")).toBeTruthy();\n```\n\n### Floating-points\n\n```javascript\nexpect(isNumeric(1.1)).toBeTruthy();\nexpect(isNumeric(0.1)).toBeTruthy();\nexpect(isNumeric(-1.1)).toBeTruthy();\nexpect(isNumeric(-0.1)).toBeTruthy();\nexpect(isNumeric(\"1.1\")).toBeTruthy();\nexpect(isNumeric(\"0.1\")).toBeTruthy();\nexpect(isNumeric(\"-1.1\")).toBeTruthy();\nexpect(isNumeric(\"-0.1\")).toBeTruthy();\nexpect(isNumeric(\".1\")).toBeTruthy();\n```\n\n### Exponentials\n\n```javascript\nexpect(isNumeric(3e5)).toBeTruthy();\nexpect(isNumeric(123e-2)).toBeTruthy();\nexpect(isNumeric(\"3e5\")).toBeTruthy();\nexpect(isNumeric(\"123e-2\")).toBeTruthy();\n```\n\n### Decimal commas\n\n```javascript\nexpect(isNumeric(1,1)).toBeTruthy();\nexpect(isNumeric(\"1,1\")).toBeTruthy();\n```",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/leecrossley/isNumeric/issues"
  },
  "_id": "isnumeric@0.0.10",
  "dist": {
    "shasum": "33baf73a3cc356fc4a083dbea459494db7ff0225"
  },
  "_from": "isnumeric@",
  "_resolved": "https://registry.npmjs.org/isnumeric/-/isnumeric-0.0.10.tgz"
}
