{"name":"to-integer-x","version":"1.0.5","description":"toInteger module.","homepage":"https://github.com/Xotic750/to-integer-x","author":{"name":"Graham Fairweather","email":"xotic750@gmail.com"},"copyright":"Copyright (c) 2015-2016","keywords":["toInteger","module","javascript","nodejs","browser"],"main":"index.js","engines":{"node":"*"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Xotic750/to-integer-x.git"},"bugs":{"url":"https://github.com/Xotic750/to-integer-x/issues"},"dependencies":{},"devDependencies":{"es5-shim":"^4.5.2","es6-shim":"^0.34.4","json3":"^3.3.2","jscs":"^2.9.0","uglify-js":"^2.6.1","browserify":"^13.0.0","browserify-derequire":"^0.9.4","jasmine-node":"^1.14.5","jsdoc-to-markdown":"^1.3.3","nsp":"^2.2.0"},"scripts":{"test":"jasmine-node --matchall tests/spec/","security":"nsp check","style":"jscs index.js","docs":"jsdoc2md --name-format --example-lang js index.js > README.md","build":"browserify -p browserify-derequire -e index.js -o lib/to-integer-x.js -u 'crypto' -s returnExports","build-uglify":"uglifyjs lib/to-integer-x.js -o lib/to-integer-x.min.js --compress --keep-fnames --mangle --beautify ascii_only=true,beautify=false --source-map lib/to-integer-x.map"},"gitHead":"3c3b28427ae6572ece47ee6443cf553c42250d92","_id":"to-integer-x@1.0.5","_shasum":"decfa8b69ea1a926bde1756aa22a69e5e451d194","_from":".","_npmVersion":"3.7.1","_nodeVersion":"5.5.0","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"dist":{"shasum":"decfa8b69ea1a926bde1756aa22a69e5e451d194","tarball":"http://registry-npm.ywwl.com/to-integer-x/download/to-integer-x-1.0.5.tgz","integrity":"sha512-I0o/889KhePifZXDBXtDoPgKwaWRwQ9qy5DkZVmT9o67PcKtHQ91CVSf8Io7rWpmgU2pT7itxY5Mp0QaQK0OtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJQxTnpTjJ1U3fCVtDjUG6IQxtrg6Q5uF9iLPEUsPdUAiEApMyadVYpCo7vK0qisCWLPPTfzlm6u9q4f/l6eWjaDeA="}],"size":6499,"noattachment":false,"key":"/to-integer-x/-/to-integer-x-1.0.5.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/to-integer-x-1.0.5.tgz_1455346006775_0.33953273110091686"},"directories":{},"readme":"<a\n  href=\"https://travis-ci.org/Xotic750/to-integer-x\"\n  title=\"Travis status\">\n<img\n  src=\"https://travis-ci.org/Xotic750/to-integer-x.svg?branch=master\"\n  alt=\"Travis status\" height=\"18\">\n</a>\n<a\n  href=\"https://david-dm.org/Xotic750/to-integer-x\"\n  title=\"Dependency status\">\n<img src=\"https://david-dm.org/Xotic750/to-integer-x/status.svg\"\n  alt=\"Dependency status\" height=\"18\"/>\n</a>\n<a\n  href=\"https://david-dm.org/Xotic750/to-integer-x?type=dev\"\n  title=\"devDependency status\">\n<img src=\"https://david-dm.org/Xotic750/to-integer-x/dev-status.svg\"\n  alt=\"devDependency status\" height=\"18\"/>\n</a>\n<a\n  href=\"https://badge.fury.io/js/to-integer-x\"\n  title=\"npm version\">\n<img src=\"https://badge.fury.io/js/to-integer-x.svg\"\n  alt=\"npm version\" height=\"18\">\n</a>\n<a\n  href=\"https://www.jsdelivr.com/package/npm/to-integer-x\"\n  title=\"jsDelivr hits\">\n<img src=\"https://data.jsdelivr.com/v1/package/npm/to-integer-x/badge?style=rounded\"\n  alt=\"jsDelivr hits\" height=\"18\">\n</a>\n<a\n  href=\"https://bettercodehub.com/results/Xotic750/to-integer-x\"\n  title=\"bettercodehub score\">\n<img src=\"https://bettercodehub.com/edge/badge/Xotic750/to-integer-x?branch=master\"\n  alt=\"bettercodehub score\" height=\"18\">\n</a>\n<a\n  href=\"https://coveralls.io/github/Xotic750/to-integer-x?branch=master\"\n  title=\"Coverage Status\">\n<img src=\"https://coveralls.io/repos/github/Xotic750/to-integer-x/badge.svg?branch=master\"\n  alt=\"Coverage Status\" height=\"18\">\n</a>\n\n<a name=\"module_to-integer-x\"></a>\n\n## to-integer-x\n\nToInteger converts 'argument' to an integral numeric value.\n\n<a name=\"exp_module_math-trim-x.exports\"></a>\n\n### `module.exports(string)` ⇒ <code>number</code> ⏏\n\n<a name=\"module_to-integer-x\"></a>\n\n### `to-integer-x` ⇒ <code>number</code>\n\nConverts `value` to an integer. (ES2019)\n\n**Kind**: static property of [<code>to-integer-x</code>](#module_to-integer-x)  \n**Returns**: <code>number</code> - Returns the converted integer.\n\n| Param | Type            | Description           |\n| ----- | --------------- | --------------------- |\n| value | <code>\\*</code> | The value to convert. |\n\n**Example**\n\n```js\nimport toInteger from 'to-integer-x';\n\nconsole.log(toInteger(3)); // 3\nconsole.log(toInteger(Number.MIN_VALUE)); // 0\nconsole.log(toInteger(Infinity)); // 1.7976931348623157e+308\nconsole.log(toInteger('3')); // 3\n```\n","publish_time":1455346010434,"_cnpm_publish_time":1455346010434,"dist-tags":{"latest":"4.2.2"}}