{"_id":"validate.io-integer-array","_rev":"6-43a8405e9d8de0a0966075a0ed44021d","name":"validate.io-integer-array","description":"Validates if a value is an integer array.","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"validate.io-integer-array","version":"0.0.0","description":"Validates if a value is an integer array.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/integer-array.git"},"keywords":["validate.io","validate","validation","validator","valid","integer","array","integerarray","is","isintegerarray"],"bugs":{"url":"https://github.com/validate-io/integer-array/issues"},"dependencies":{"validate.io-array":"^1.0.3","validate.io-integer":"^1.0.4"},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"2.x.x","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"21bfe419b2adc47efedb0c0c2e2cbc60b732c31f","homepage":"https://github.com/validate-io/integer-array","_id":"validate.io-integer-array@0.0.0","_shasum":"3a0da77222ad4abffddffaa90965345479b74ce2","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"3a0da77222ad4abffddffaa90965345479b74ce2","tarball":"https://registry.npmjs.org/validate.io-integer-array/-/validate.io-integer-array-0.0.0.tgz","integrity":"sha512-i52SpIt4zRbtPpGpolYeXfUN9uX4MEhOYJNuCTv8s9YyuJNEBAX/rDfHM/XWFqYyPlvCYDGaAOTbOLuIOsSoug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCc8DbokxY5lipKGvuNMbz7xk1nvKIavv96rNnDss4HWAIgaXuMIm90svbGEEgWOSnc0tdmJOoHFvGr15tkEks+Aj4="}]}},"1.0.0":{"name":"validate.io-integer-array","version":"1.0.0","description":"Validates if a value is an integer array.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/integer-array.git"},"keywords":["validate.io","validate","validation","validator","valid","integer","array","integerarray","is","isintegerarray"],"bugs":{"url":"https://github.com/validate-io/integer-array/issues"},"dependencies":{"validate.io-array":"^1.0.3","validate.io-integer":"^1.0.4"},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"2.x.x","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"24570f40cf703aa85a526d3459c22a1dde1e094d","homepage":"https://github.com/validate-io/integer-array","_id":"validate.io-integer-array@1.0.0","_shasum":"2cabde033293a6bcbe063feafe91eaf46b13a089","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"2cabde033293a6bcbe063feafe91eaf46b13a089","tarball":"https://registry.npmjs.org/validate.io-integer-array/-/validate.io-integer-array-1.0.0.tgz","integrity":"sha512-mTrMk/1ytQHtCY0oNO3dztafHYyGU88KL+jRxWuzfOmQb+4qqnWmI+gykvGp8usKZOM0H7keJHEbRaFiYA0VrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGc63MVVnycPaWoPEsQHG6WzZ1xR2sNAYV/9E/8eqoJdAiAfyKfygU/50f+V94OT/ic4uPwHzlKYjkXetRVBd+dANg=="}]}}},"readme":"Integer Array\n===\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependencies][dependencies-image]][dependencies-url]\n\n> Validates if a value is an integer array.\n\n\n## Installation\n\n``` bash\n$ npm install validate.io-integer-array\n```\n\nFor use in the browser, use [browserify](https://github.com/substack/node-browserify).\n\n\n## Usage\n\n``` javascript\nvar isIntegerArray = require( 'validate.io-integer-array' );\n```\n\n#### isIntegerArray( value )\n\nValidates if a `value` is an `integer array`.\n\n``` javascript\nvar arr = [ 1, 2, 3 ];\n\nvar bool = isIntegerArray( value );\n// returns true\n```\n\n__Note__: the method will return `false` for an empty `array`.\n\n\n## Examples\n\n``` javascript\nvar isIntegerArray = require( 'validate.io-integer-array' );\n\nconsole.log( isIntegerArray( [1,5,3] ) );\n// returns true\n\nconsole.log( isIntegerArray( [] ) );\n// returns false\n\nconsole.log( isIntegerArray( ['1','2','3'] ) );\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## Tests\n\n### Unit\n\nUnit tests use the [Mocha](http://mochajs.org) test framework with [Chai](http://chaijs.com) assertions. 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](https://github.com/gotwarlost/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---\n## License\n\n[MIT license](http://opensource.org/licenses/MIT). \n\n\n## Copyright\n\nCopyright &copy; 2015. Athan Reines.\n\n\n[npm-image]: http://img.shields.io/npm/v/validate.io-integer-array.svg\n[npm-url]: https://npmjs.org/package/validate.io-integer-array\n\n[travis-image]: http://img.shields.io/travis/validate-io/integer-array/master.svg\n[travis-url]: https://travis-ci.org/validate-io/integer-array\n\n[coveralls-image]: https://img.shields.io/coveralls/validate-io/integer-array/master.svg\n[coveralls-url]: https://coveralls.io/r/validate-io/integer-array?branch=master\n\n[dependencies-image]: http://img.shields.io/david/validate-io/integer-array.svg\n[dependencies-url]: https://david-dm.org/validate-io/integer-array\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/validate-io/integer-array.svg\n[dev-dependencies-url]: https://david-dm.org/dev/validate-io/integer-array\n\n[github-issues-image]: http://img.shields.io/github/issues/validate-io/integer-array.svg\n[github-issues-url]: https://github.com/validate-io/integer-array/issues\n","maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"time":{"modified":"2022-06-28T08:32:47.291Z","created":"2015-02-20T22:40:16.531Z","0.0.0":"2015-02-20T22:40:16.531Z","1.0.0":"2015-02-20T22:40:58.653Z"},"homepage":"https://github.com/validate-io/integer-array","keywords":["validate.io","validate","validation","validator","valid","integer","array","integerarray","is","isintegerarray"],"repository":{"type":"git","url":"git://github.com/validate-io/integer-array.git"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"bugs":{"url":"https://github.com/validate-io/integer-array/issues"},"readmeFilename":"README.md"}