{"name":"to-integer-x","version":"1.3.0","description":"ToInteger converts 'argument' to an integral numeric value.","homepage":"https://github.com/Xotic750/to-integer-x","author":{"name":"Graham Fairweather","email":"xotic750@gmail.com"},"copyright":"Copyright (c) 2015-2017","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":{"is-finite-x":"^1.2.0","is-nan":"^1.2.1","math-sign-x":"^1.2.0"},"devDependencies":{"@xotic750/eslint-config-standard-x":"^1.4.0","browserify":"^14.4.0","browserify-derequire":"^0.9.4","cross-env":"^5.0.1","es5-shim":"^4.5.9","es6-shim":"^0.35.3","es7-shim":"^6.0.0","eslint":"^4.1.1","eslint-plugin-compat":"^1.0.4","eslint-plugin-css-modules":"^2.7.2","eslint-plugin-eslint-comments":"^1.0.2","eslint-plugin-jsdoc":"^3.1.1","eslint-plugin-json":"^1.2.0","eslint-plugin-no-use-extend-native":"^0.3.12","husky":"^0.13.4","jasmine-node":"^1.14.5","jsdoc-to-markdown":"^3.0.0","json3":"^3.3.2","make-jasmine-spec-runner-html":"^1.2.0","nodemon":"^1.11.0","nsp":"^2.6.3","parallelshell":"^3.0.1","replace-x":"^1.3.1","rimraf":"^2.6.1","serve":"^6.0.0","uglify-js":"^3.0.23"},"scripts":{"clean":"rimraf README.md lib/*","clean:jasmine":"rimraf tests/index.html tests/run.js","clean:all":"npm run clean:jasmine &&  npm run clean","build":"npm run clean && npm run lint && npm run browserify && npm run uglify && npm run docs && npm test && npm run security","build:jasmine":"npm run clean:jasmine && make-jasmine-spec-runner-html","build:setver":"PKG_VER=$(node -p -e \"require('./package.json').version\") && replace-x \" @version .*\" \" @version ${PKG_VER}\" index.js","production":"npm run clean:all && npm run build:jasmine && npm run build:setver && npm run build","start":"parallelshell \"serve\" \"nodemon --watch index.js --exec 'npm run build'\"","docs":"jsdoc2md --name-format --example-lang js index.js > README.md","lint":"eslint *.js tests/spec/*.js","lint-fix":"eslint --fix *.js tests/spec/*.js","security":"nsp check","test":"jasmine-node --matchall tests/spec/","browserify":"browserify -p browserify-derequire -e index.js -o lib/to-integer-x.js -u 'crypto' -s returnExports","uglify":"uglifyjs lib/to-integer-x.js -o lib/to-integer-x.min.js --support-ie8 --compress --keep-fnames --mangle --beautify ascii_only=true,beautify=false --source-map filename=lib/to-integer-x.map","precommit":"npm run production","prepush":"npm run production"},"gitHead":"34c57670e613755c7634705504bc62dfda579401","_id":"to-integer-x@1.3.0","_npmVersion":"5.0.4","_nodeVersion":"7.7.3","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"dist":{"integrity":"sha512-Sg7l7ISNGgPAISpFI/GMfnmP+4U/LwEbL4iftDoC75448G5fPkY59NpvMne4KH9gHZRk9HJPNSBIx61x8pJf9A==","shasum":"439ebeb0b6a74106b1e8c57624426e91a534c2a9","tarball":"http://registry-npm.ywwl.com/to-integer-x/download/to-integer-x-1.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExst63F657yUPZPGA9FUqrgLOdainbI0lS63p+IkrAHAiBsCcNyip2HA8BENX/H/0PT61K+7KpJlIpuJi7ftmREVw=="}],"size":13832,"noattachment":false,"key":"/to-integer-x/-/to-integer-x-1.3.0.tgz"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/to-integer-x-1.3.0.tgz_1499002884686_0.9411825325805694"},"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":1499002885693,"_cnpm_publish_time":1499002885693,"dist-tags":{"latest":"4.2.2"}}