{"_id":"validate.io-nonnegative-integer-array","_rev":"7-952aaf8ccb8cdd749c332c0e46c6441d","name":"validate.io-nonnegative-integer-array","description":"Validates if a value is a nonnegative integer array.","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.0":{"name":"validate.io-nonnegative-integer-array","version":"0.0.0","description":"Validates if a value is a nonnegative 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/nonnegative-integer-array.git"},"keywords":["validate.io","validate","validation","validator","valid","integer","nonnegative","integerarray","array","is","isarray","isintegerarray"],"bugs":{"url":"https://github.com/validate-io/nonnegative-integer-array/issues"},"dependencies":{"validate.io-array":"^1.0.3","validate.io-nonnegative-integer":"^1.0.0"},"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":"521531f878c7bf185fc91609c85ec14660092cd3","homepage":"https://github.com/validate-io/nonnegative-integer-array","_id":"validate.io-nonnegative-integer-array@0.0.0","_shasum":"6bdcb6252fcbbd873d43dc0c6f04f45694af5746","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"6bdcb6252fcbbd873d43dc0c6f04f45694af5746","tarball":"https://registry.npmjs.org/validate.io-nonnegative-integer-array/-/validate.io-nonnegative-integer-array-0.0.0.tgz","integrity":"sha512-AmHV/UjtLX+UPIcKAtjyBP1PfBiTMiwgnLWn6fgR6njcyDsUiR5NrRxi5SROHOxzr3Xn7LjK/fOYWA8rQ6aStQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOv4vYUtFb+lZOhJjrJClG0I6hHzQ8QBjxRysAZA/d5AIhAOER1YjPYHYSAyzrlfxypEdiVVr5m1j0BCLx63Qd9278"}]}},"1.0.0":{"name":"validate.io-nonnegative-integer-array","version":"1.0.0","description":"Validates if a value is a nonnegative 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/nonnegative-integer-array.git"},"keywords":["validate.io","validate","validation","validator","valid","integer","nonnegative","integerarray","array","is","isarray","isintegerarray"],"bugs":{"url":"https://github.com/validate-io/nonnegative-integer-array/issues"},"dependencies":{"validate.io-array":"^1.0.3","validate.io-nonnegative-integer":"^1.0.0"},"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":"5907fa303d25a80888407bfc109c00cefa0f8bda","homepage":"https://github.com/validate-io/nonnegative-integer-array","_id":"validate.io-nonnegative-integer-array@1.0.0","_shasum":"a3516ee0ada1de4dbbfed9bd61c10fa2cc63fb62","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"a3516ee0ada1de4dbbfed9bd61c10fa2cc63fb62","tarball":"https://registry.npmjs.org/validate.io-nonnegative-integer-array/-/validate.io-nonnegative-integer-array-1.0.0.tgz","integrity":"sha512-g0/o3E2m7bLCh/SJzBq9DWb+p5xaCLDWWwlWGd83tlPpU4OkVXPunpK8r5LOAlxKNqJd4HM6oUIjokyE2oRadQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcoiPmJiSS+BvkfNadx+bQCieu2NweTREBPTasWPy9zAIgVIK2JHnFjSRXQB5NW8gx01ZU0rFtyTVzVu5RoNp/47k="}]}},"1.0.1":{"name":"validate.io-nonnegative-integer-array","version":"1.0.1","description":"Validates if a value is a nonnegative 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/nonnegative-integer-array.git"},"keywords":["validate.io","validate","validation","validator","valid","integer","nonnegative","integerarray","array","is","isarray","isintegerarray"],"bugs":{"url":"https://github.com/validate-io/nonnegative-integer-array/issues"},"dependencies":{"validate.io-array":"^1.0.3","validate.io-nonnegative-integer":"^1.0.0"},"devDependencies":{"chai":"2.x.x","mocha":"2.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":"4b69046c0efb01d9d27bd9cbcee281f261a87bbe","homepage":"https://github.com/validate-io/nonnegative-integer-array","_id":"validate.io-nonnegative-integer-array@1.0.1","_shasum":"66330a665f5598b96f25f69081f81f632ea4db4f","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"66330a665f5598b96f25f69081f81f632ea4db4f","tarball":"https://registry.npmjs.org/validate.io-nonnegative-integer-array/-/validate.io-nonnegative-integer-array-1.0.1.tgz","integrity":"sha512-x/92f3+FJjN5oIp5CJdq6E0MuJhVkDS8NAfHew9Th5SMLnZqvXe1Yf+2WbS4p2iXfCvPC8oV8BZPUw7skStF+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBLxTIFnh2BzeoSUa9yh04hewz8euerKWHT8OXQxAzxBAiEAhrby/q21DPs8g2hK+Fa5mn4P7isKMN4mqVLQ1f4hl4k="}]}}},"readme":"Nonnegative 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 a nonnegative integer array.\n\n\n## Installation\n\n``` bash\n$ npm install validate.io-nonnegative-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 isValid = require( 'validate.io-nonnegative-integer-array' );\n```\n\n#### isValid( value )\n\nValidates if a `value` is a nonnegative integer `array`.\n\n``` javascript\nvar value = [ 3, 1, 0, 2 ];\n\nvar bool = isValid( 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 isValid = require( 'validate.io-nonnegative-integer-array' );\n\nconsole.log( isValid( [3,1,0,2] ) );\n// returns true\n\nconsole.log( isValid( [] ) );\n// returns false\n\nconsole.log( isValid( [3.14] ) );\n// returns false\n\nconsole.log( isValid( [0,-1] ) );\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-nonnegative-integer-array.svg\n[npm-url]: https://npmjs.org/package/validate.io-nonnegative-integer-array\n\n[travis-image]: http://img.shields.io/travis/validate-io/nonnegative-integer-array/master.svg\n[travis-url]: https://travis-ci.org/validate-io/nonnegative-integer-array\n\n[coveralls-image]: https://img.shields.io/coveralls/validate-io/nonnegative-integer-array/master.svg\n[coveralls-url]: https://coveralls.io/r/validate-io/nonnegative-integer-array?branch=master\n\n[dependencies-image]: http://img.shields.io/david/validate-io/nonnegative-integer-array.svg\n[dependencies-url]: https://david-dm.org/validate-io/nonnegative-integer-array\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/validate-io/nonnegative-integer-array.svg\n[dev-dependencies-url]: https://david-dm.org/dev/validate-io/nonnegative-integer-array\n\n[github-issues-image]: http://img.shields.io/github/issues/validate-io/nonnegative-integer-array.svg\n[github-issues-url]: https://github.com/validate-io/nonnegative-integer-array/issues\n","maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"time":{"modified":"2022-06-28T08:33:53.309Z","created":"2015-02-25T08:34:41.926Z","0.0.0":"2015-02-25T08:34:41.926Z","1.0.0":"2015-02-25T08:34:55.886Z","1.0.1":"2015-02-25T08:36:29.565Z"},"homepage":"https://github.com/validate-io/nonnegative-integer-array","keywords":["validate.io","validate","validation","validator","valid","integer","nonnegative","integerarray","array","is","isarray","isintegerarray"],"repository":{"type":"git","url":"git://github.com/validate-io/nonnegative-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/nonnegative-integer-array/issues"},"readmeFilename":"README.md"}