{"_id":"parseint","_rev":"8-e5c3a54e70275d8e18b99b71718eef75","name":"parseint","description":"An ES-spec-compliant `parseInt` shim/polyfill/replacement that works as far down as ES3","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"parseint","version":"1.0.0","description":"parseInt","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/overly-useful-npm-packages/parseint.git"},"keywords":["parseint"],"author":{"name":"Andor Polgar"},"license":"MIT","bugs":{"url":"https://github.com/overly-useful-npm-packages/parseint/issues"},"homepage":"https://github.com/overly-useful-npm-packages/parseint","gitHead":"0edfaae8db7e27ad2d06f3c5480620aba1a08eb2","_id":"parseint@1.0.0","_shasum":"11267cf04eb31ddd7e501af03225bc2655970417","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.2","_npmUser":{"name":"hngrhorace","email":"hngrhorace@gmail.com"},"dist":{"shasum":"11267cf04eb31ddd7e501af03225bc2655970417","tarball":"https://registry.npmjs.org/parseint/-/parseint-1.0.0.tgz","integrity":"sha512-wr3nlos/GtKTkA+c9QD07vWOeJcTUK9X1Qtohr3hZduExITTbSPMwxG3DjFyfyuHNE6pHRty/pctf2BbyTylQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDIWOpMum9o/YH1ulo08vd2OidmNgratMybnJxH7x/ePAiEAl9SMh/losAmv9EeL/JXXvNdLW994chA2EExzRjyPD4M="}]},"maintainers":[{"name":"hngrhorace","email":"hngrhorace@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parseint-1.0.0.tgz_1458814655920_0.8634125469252467"},"directories":{}},"1.0.1":{"name":"parseint","version":"1.0.1","description":"parseInt","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/overly-useful-npm-packages/parseint.git"},"keywords":["parseint"],"author":{"name":"Andor Polgar"},"license":"MIT","bugs":{"url":"https://github.com/overly-useful-npm-packages/parseint/issues"},"homepage":"https://github.com/overly-useful-npm-packages/parseint","gitHead":"4db8b0a3d9addd468d67a2a2a923ee7b89a49fa2","_id":"parseint@1.0.1","_shasum":"44398b67c163a8d79c247da67d0bbcf582bd1389","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.2","_npmUser":{"name":"hngrhorace","email":"hngrhorace@gmail.com"},"dist":{"shasum":"44398b67c163a8d79c247da67d0bbcf582bd1389","tarball":"https://registry.npmjs.org/parseint/-/parseint-1.0.1.tgz","integrity":"sha512-IKafzQLtQnLXaQEnVBS587PQJOn5MIr8HMBfE4K2PJqwDbU+uVA0nz3fG/ILstmRmFWdNhxUAWluyQc6Icu52w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLZ4R3fme5b7imObMVSHBO6lNf6UyJUESBgWsLLeMH4wIhAI1kRtyQ+ao9dMogrV21yPA+DVlERlswXyK54txNp9mf"}]},"maintainers":[{"name":"hngrhorace","email":"hngrhorace@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parseint-1.0.1.tgz_1458817124370_0.48875193134881556"},"directories":{}},"2.0.0":{"name":"parseint","version":"2.0.0","description":"An ES-spec-compliant `parseInt` shim/polyfill/replacement that works as far down as ES3","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/parseInt.git"},"keywords":["parseInt","number","is-finite","log","shim","polyfill","es-shim","API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/es-shims/parseInt?sponsor=1"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/parseInt/issues"},"homepage":"https://github.com/es-shims/parseInt#readme","devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.0","auto-changelog":"^2.4.0","eslint":"=8.8.0","for-each":"^0.3.3","functions-have-names":"^1.2.3","has-symbols":"^1.0.3","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.5.3"},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.4","globalthis":"^1.0.2"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"ace57759107491b1ecd76a12f858baf14856705a","_id":"parseint@2.0.0","_nodeVersion":"18.0.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-P8HrpB+jQ3qDCTtCBab1PPoBjQL/lH37fXzmpTPn4XtsQY8LJXJRE1gSEgJuVOLAxb5EB2h1e/0SrZqQmeJecw==","shasum":"bf617faf6d8cbe38b9e41c76ca29b79e42c1f6a2","tarball":"https://registry.npmjs.org/parseint/-/parseint-2.0.0.tgz","fileCount":18,"unpackedSize":14508,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICHImWoGiTjrA2WKPxM9ONDjVOGOg377iPPqQ2ihaxygAiBfEaoZ3+E9g/yPOULSf3+QfpXsTbPYKAu/xJf705wfng=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicMIFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMahAAj9SyGyK8WG+7i6w3t0eHZSDRTJB9rAv0B/GfEvz4i5UZic0t\r\nk2yFANae+pApY8qT636edRCF1Np41Ojc0GaI4CMMV08XnOtGrwp5QJ7+LdiW\r\nMoJ/Z68id+McORSDhuAsAPMqDvnyy8aQSnNmFEIsoX1FxjODJ805Zas1pilW\r\nILU+QXEgexhJNwxyxJeSGkjFZ3Pz4CnfBw7bANQqK81scMrSKsIgEwdXmxp7\r\nI1qgpHoWK5zF5eRSsBwPky3y6MnjwWl5zpq6d+G6IykBINWQ0MNA6sXl1kUN\r\n7QfzWoSrRlTXKP2MitInPup88226xrNXg1EsHaPR1nmNP3YTvZiSdmjknH34\r\norPxhLSAiGH7hdkjsIX1RbpKtske3kXUgT3ennGHlRk6LvePnzpPMtahh8Eb\r\ncYVuYUXqfHAJ8KXSlXU2ANdWSP1psyxuhJw+uzZEseHYy9E+BgF7P/5Mo2EJ\r\nN16jSO4Tqrf11fraW13zYEiZc6BAen9RPCqoLtieDAs4AZMGbzFAv1vR3hdY\r\n7Mg5XSWWC5RGECNs2Fa0UB1RWjZWnLUrb6TyVEwp515KwSqhP/zgMDoEeGlv\r\neKa77jbBjW0LRzy4QKEbMccqx00eKnAuR6fFeuNiIQqglpdD+4RMDqEMmHlC\r\nbYyB+/Qs857z+eog6Pud+5r4ultDIxgYG8U=\r\n=0f53\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"hngrhorace","email":"hngrhorace@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parseint_2.0.0_1651556869814_0.4049968653192597"},"_hasShrinkwrap":false},"2.0.1":{"name":"parseint","version":"2.0.1","description":"An ES-spec-compliant `parseInt` shim/polyfill/replacement that works as far down as ES3","main":"index.js","exports":{".":"./index.js","./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/parseInt.git"},"keywords":["parseInt","number","is-finite","log","shim","polyfill","es-shim","API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/es-shims/parseInt?sponsor=1"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/parseInt/issues"},"homepage":"https://github.com/es-shims/parseInt#readme","devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","eslint":"=8.8.0","for-each":"^0.3.3","functions-have-names":"^1.2.3","has-symbols":"^1.0.3","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.7.5"},"dependencies":{"call-bind":"^1.0.7","define-properties":"^1.2.1","es-abstract":"^1.22.5","globalthis":"^1.0.3"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"engines":{"node":">= 0.4"},"_id":"parseint@2.0.1","gitHead":"593d33a260abdd5f9002084089e15e0e543a23e0","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-HMIZgWrSq7zT0Huo+xAhj5B3ZE7yMpJHJM+PNWO7I0vJHrSaXBLpTvJXQdSeFrwtK6g6aL/hOUZNrQK8Y/kvgA==","shasum":"52004fabf9064e86fd13d027171c69bf7ceb3f61","tarball":"https://registry.npmjs.org/parseint/-/parseint-2.0.1.tgz","fileCount":16,"unpackedSize":14905,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFb/ZsKG9/u0w1nvWPEdnXY8frFaka6b32ZpT6ywouygIgeDxgh4VnozXRq0z8C/XOVVLQo7nS/WcuG+vnycDycBg="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"hngrhorace","email":"hngrhorace@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parseint_2.0.1_1709569000578_0.944502864262007"},"_hasShrinkwrap":false}},"readme":"# parseInt <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nAn ESnext spec-compliant `parseInt` shim/polyfill/replacement that works as far down as ES3.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262/#sec-parseint).\n\n## Getting started\n\n```sh\nnpm install --save parseint\n```\n\n## Usage/Examples\n\n```js\nconsole.log(parseInt(\"-3\")); // -3\nconsole.log(parseInt(\"0x10\")); // 16\nconsole.log(parseInt(\"30\", 7)); // 21\nconsole.log(parseInt(\"ef\")); // NaN\n```\n\n## Tests\n\nClone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/parseint\n[npm-version-svg]: https://versionbadg.es/es-shims/parseInt.svg\n[deps-svg]: https://david-dm.org/es-shims/parseInt.svg\n[deps-url]: https://david-dm.org/es-shims/parseInt\n[dev-deps-svg]: https://david-dm.org/es-shims/parseInt/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/parseInt#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/parseint.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/parseint.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/parseint.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=parseint\n[codecov-image]: https://codecov.io/gh/es-shims/parseInt/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/parseInt/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/parseInt\n[actions-url]: https://github.com/es-shims/parseInt/actions\n","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"hngrhorace","email":"hngrhorace@gmail.com"}],"time":{"modified":"2024-03-04T16:16:41.151Z","created":"2016-03-24T10:17:38.331Z","1.0.0":"2016-03-24T10:17:38.331Z","1.0.1":"2016-03-24T10:58:47.002Z","2.0.0":"2022-05-03T05:47:49.956Z","2.0.1":"2024-03-04T16:16:40.721Z"},"homepage":"https://github.com/es-shims/parseInt#readme","keywords":["parseInt","number","is-finite","log","shim","polyfill","es-shim","API"],"repository":{"type":"git","url":"git+https://github.com/es-shims/parseInt.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"bugs":{"url":"https://github.com/es-shims/parseInt/issues"},"license":"MIT","readmeFilename":"README.md","users":{"hngrhorace":true}}