{"_id":"validate.io-infinite","_rev":"4-de61870688238ddfddf5d8e49f7a82a4","name":"validate.io-infinite","description":"Validates if a value is infinite.","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"validate.io-infinite","version":"0.0.0","description":"Validates if a value is infinite.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"if [ \"${TRAVIS}\" ]; then npm run test-ci; else npm run test-local; fi","test-local":"tape \"./test/*.js\" | tap-spec","test-ci":"npm run test-local && xvfb-run npm run test-browsers","test-cov":"istanbul cover --dir ./reports/coverage --report lcov tape -- \"./test/*.js\"","test-browsers":"browserify ./test/*.js | testling | tap-spec","coverage":"istanbul cover --dir ./reports/codecov/coverage --report lcovonly tape -- \"./test/*.js\" && cat ./reports/codecov/coverage/lcov.info | codecov && rm -rf ./reports/codecov"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/infinite.git"},"keywords":["validate.io","validate-io","validation","validate","valid","infinite","finite","number","numeric","type","is","isvalid","isinfinite","check"],"bugs":{"url":"https://github.com/validate-io/infinite/issues"},"dependencies":{},"devDependencies":{"browserify":"12.x.x","codecov":"1.x.x","istanbul":"^0.4.1","jshint":"2.x.x","jshint-stylish":"2.x.x","tap-spec":"4.x.x","tape":"4.x.x","testling":"1.x.x"},"testling":{"files":["test/*.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..latest","firefox/nightly","chrome/4.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"license":"MIT","gitHead":"5039d6524bb502e3fa27c65894d195b13f8cba83","homepage":"https://github.com/validate-io/infinite#readme","_id":"validate.io-infinite@0.0.0","_shasum":"4ca0cfdd79e2ad976475cd9a8ea170a39062f689","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"dist":{"shasum":"4ca0cfdd79e2ad976475cd9a8ea170a39062f689","tarball":"https://registry.npmjs.org/validate.io-infinite/-/validate.io-infinite-0.0.0.tgz","integrity":"sha512-Coc5wS6hdoV2BJzWp+3JffLxJnBJywE3rgw4R9inyBT40WHePAjDMexT/FfkWr97f6a2xidpZWci6imUkA0fiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA9pdUfAoRYWXm+7TaeN6yw23sFtZSa2KchQLG5xkcAcAiEA6/osOcXC44YjX55fzgC4jOf/B+doKgMEcqCL3DWILfk="}]},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}]},"1.0.0":{"name":"validate.io-infinite","version":"1.0.0","description":"Validates if a value is infinite.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"if [ \"${TRAVIS}\" ]; then npm run test-ci; else npm run test-local; fi","test-local":"tape \"./test/*.js\" | tap-spec","test-ci":"npm run test-local && xvfb-run npm run test-browsers","test-cov":"istanbul cover --dir ./reports/coverage --report lcov tape -- \"./test/*.js\"","test-browsers":"browserify ./test/*.js | testling | tap-spec","coverage":"istanbul cover --dir ./reports/codecov/coverage --report lcovonly tape -- \"./test/*.js\" && cat ./reports/codecov/coverage/lcov.info | codecov && rm -rf ./reports/codecov"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/infinite.git"},"keywords":["validate.io","validate-io","validation","validate","valid","infinite","finite","number","numeric","type","is","isvalid","isinfinite","check"],"bugs":{"url":"https://github.com/validate-io/infinite/issues"},"dependencies":{},"devDependencies":{"browserify":"12.x.x","codecov":"1.x.x","istanbul":"^0.4.1","jshint":"2.x.x","jshint-stylish":"2.x.x","tap-spec":"4.x.x","tape":"4.x.x","testling":"1.x.x"},"testling":{"files":["test/*.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..latest","firefox/nightly","chrome/4.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"license":"MIT","gitHead":"56fb43bdddba34ff07344c5a6a8537e9d0ab5561","homepage":"https://github.com/validate-io/infinite#readme","_id":"validate.io-infinite@1.0.0","_shasum":"9076cf0b41f7ac201a42d58697c461142b4afcfb","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"dist":{"shasum":"9076cf0b41f7ac201a42d58697c461142b4afcfb","tarball":"https://registry.npmjs.org/validate.io-infinite/-/validate.io-infinite-1.0.0.tgz","integrity":"sha512-VBYqcsLn4OpsWQM44XrvRsiRni55TjhN7A4sSAFM5F0cjggbeDArEp2uEin63lIdLEI0XIfKWxd8v8RO0kHv7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjCpj1d2g+KoOCz8PflWanttQoQfmAtzdTkRq8/iLnqQIhAMcgr2toxjPAIzc3HRpGwGsgFAnCzAvyRjJDBVcv8+WD"}]},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}]}},"readme":"Infinite\n===\n[![NPM version][npm-image]][npm-url] [![Build Status][build-image]][build-url] [![Coverage Status][coverage-image]][coverage-url] [![Dependencies][dependencies-image]][dependencies-url]\n\n> Validates if a value is infinite.\n\n\n## Installation\n\n``` bash\n$ npm install validate.io-infinite\n```\n\n\n## Usage\n\n``` javascript\nvar isInfinite = require( 'validate.io-infinite' );\n```\n\n#### isInfinite( x )\n\nValidates if a value is `infinite`.\n\n``` javascript\nvar bool = isInfinite( Number.POSITIVE_INFINITY );\n// returns true\n\nbool = isInfinite( 1e308 );\n// returns false\n```\n\n\n## Examples\n\n``` javascript\nvar isInfinite = require( 'validate.io-infinite' );\n\nconsole.log( isInfinite( Number.POSITIVE_INFINITY ) );\n// returns true\n\nconsole.log( isInfinite( Number.NEGATIVE_INFINITY ) );\n// returns true\n\nconsole.log( isInfinite( 0 ) );\n// returns false\n\nconsole.log( isInfinite( 1e308 ) );\n// returns false\n\nconsole.log( isInfinite( NaN ) );\n// returns false\n\nconsole.log( isInfinite( true ) );\n// returns false\n\nconsole.log( isInfinite( null ) );\n// returns false\n\nconsole.log( isInfinite( 'infinite' ) );\n// returns false\n```\n\nTo run the example code from the top-level application directory,\n\n``` bash\n$ node ./examples/index.js\n```\n\n\n---\n## Tests\n\n### Unit\n\nThis repository uses [tape][tape] for unit tests. To run the tests, execute the following command in the top-level application directory:\n\n``` bash\n$ make test\n```\n\nAll new feature development should have corresponding unit tests to validate correct functionality.\n\n\n### Test Coverage\n\nThis repository uses [Istanbul][istanbul] as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:\n\n``` bash\n$ make test-cov\n```\n\nIstanbul creates a `./reports/coverage` directory. To access an HTML version of the report,\n\n``` bash\n$ make view-cov\n```\n\n\n### Browser Support\n\nThis repository uses [Testling][testling] for browser testing. To run the tests in a (headless) local web browser, execute the following command in the top-level application directory:\n\n``` bash\n$ make test-browsers\n```\n\nTo view the tests in a local web browser,\n\n``` bash\n$ make view-browser-tests\n```\n\n<!-- [![browser support][browsers-image]][browsers-url] -->\n\n\n---\n## License\n\n[MIT license](http://opensource.org/licenses/MIT).\n\n\n## Copyright\n\nCopyright &copy; 2016. The [Compute.io][compute-io] Authors.\n\n\n[npm-image]: http://img.shields.io/npm/v/validate.io-infinite.svg\n[npm-url]: https://npmjs.org/package/validate.io-infinite\n\n[build-image]: http://img.shields.io/travis/validate-io/infinite/master.svg\n[build-url]: https://travis-ci.org/validate-io/infinite\n\n[coverage-image]: https://img.shields.io/codecov/c/github/validate-io/infinite/master.svg\n[coverage-url]: https://codecov.io/github/validate-io/infinite?branch=master\n\n[dependencies-image]: http://img.shields.io/david/validate-io/infinite.svg\n[dependencies-url]: https://david-dm.org/validate-io/infinite\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/validate-io/infinite.svg\n[dev-dependencies-url]: https://david-dm.org/dev/validate-io/infinite\n\n[github-issues-image]: http://img.shields.io/github/issues/validate-io/infinite.svg\n[github-issues-url]: https://github.com/validate-io/infinite/issues\n\n[tape]: https://github.com/substack/tape\n[istanbul]: https://github.com/gotwarlost/istanbul\n[testling]: https://ci.testling.com\n\n[compute-io]: https://github.com/compute-io\n","maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"time":{"modified":"2022-06-28T08:32:32.284Z","created":"2016-01-10T10:58:40.763Z","0.0.0":"2016-01-10T10:58:40.763Z","1.0.0":"2016-01-10T10:59:01.518Z"},"homepage":"https://github.com/validate-io/infinite#readme","keywords":["validate.io","validate-io","validation","validate","valid","infinite","finite","number","numeric","type","is","isvalid","isinfinite","check"],"repository":{"type":"git","url":"git://github.com/validate-io/infinite.git"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"bugs":{"url":"https://github.com/validate-io/infinite/issues"},"license":"MIT","readmeFilename":"README.md"}