{"_id":"validate.io-boolean","_rev":"17-50d9579af584a85ddcc2356fc606a636","name":"validate.io-boolean","description":"Validates if a value is a boolean.","dist-tags":{"latest":"1.0.4"},"versions":{"0.0.0":{"name":"validate.io-boolean","version":"0.0.0","description":"Validates if a value is a boolean.","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/boolean.git"},"keywords":["validate.io","validate","validation","validator"],"bugs":{"url":"https://github.com/validate-io/boolean/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"a8b3993da7ce3767c370956307c0447c59ea87b4","homepage":"https://github.com/validate-io/boolean","_id":"validate.io-boolean@0.0.0","_shasum":"ff36d5561fca906faa9fb4949b695b0015c0bedd","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"ff36d5561fca906faa9fb4949b695b0015c0bedd","tarball":"https://registry.npmjs.org/validate.io-boolean/-/validate.io-boolean-0.0.0.tgz","integrity":"sha512-3sDKq/Dgid1CiuqSMYLkVNOTedDMwN3eCquKKR1QsITDvJCmYUhr4Y+jRKwLjQ4quUbvkOPVSeHtvIoq/VOC2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCj09+PY8zezuaOBJp86GIe193w1ukgllw4vpie0EGb0QIgYekSj8leEzQokbJ3iHHYnY0gtR/NESEKNfzzv7sKf4Q="}]}},"0.0.1":{"name":"validate.io-boolean","version":"0.0.1","description":"Validates if a value is a boolean.","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/boolean.git"},"keywords":["validate.io","validate","validation","validator"],"bugs":{"url":"https://github.com/validate-io/boolean/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"bcc6157ba01f7ceb422c2a8eb62f9c08bce1209e","homepage":"https://github.com/validate-io/boolean","_id":"validate.io-boolean@0.0.1","_shasum":"e825e8a7c4a5c34a71a0460a4a2e8f91bca478cb","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"e825e8a7c4a5c34a71a0460a4a2e8f91bca478cb","tarball":"https://registry.npmjs.org/validate.io-boolean/-/validate.io-boolean-0.0.1.tgz","integrity":"sha512-7CNtceJLwwWy12N9TIitsTITSrDDyvZMmoSTYj7OwZsUVgAQ7cK7vobnQyDEfHEJrogQbrBaQwk5uxQuNxI+jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICyf5X9WjgdlC/0M/tVVzHmrQkAGA+v3JSjhQQR61xwxAiEAkThqaV/Hwt/NGN9Sk+S8zJSxa9+gaRXu3GkLgMsrjFo="}]}},"1.0.0":{"name":"validate.io-boolean","version":"1.0.0","description":"Validates if a value is a boolean.","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/boolean.git"},"keywords":["validate.io","validate","validation","validator"],"bugs":{"url":"https://github.com/validate-io/boolean/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"ad3227dc1796a5ef1ea6f8baa2bdcc98eddbbb42","homepage":"https://github.com/validate-io/boolean","_id":"validate.io-boolean@1.0.0","_shasum":"ecbf24abcd316a83dcf011ee60d552d876b65f06","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"ecbf24abcd316a83dcf011ee60d552d876b65f06","tarball":"https://registry.npmjs.org/validate.io-boolean/-/validate.io-boolean-1.0.0.tgz","integrity":"sha512-qGEopfKA09K04vAnvgP5xHApkXYVoPwSmqB72AVflc94uhG8zqSD7gOMbGWE56D70eDReQtXdhHIK82mge5UXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJh0nLlYdPGjHWkinfdBsgj9kkKKrpUKEHv7NTwUXbDgIgLfogoJf/dw/JEj/AMTh518+fIxBWeeUuEwJyppCyaAw="}]}},"1.0.1":{"name":"validate.io-boolean","version":"1.0.1","description":"Validates if a value is a boolean.","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/boolean.git"},"keywords":["validate.io","validate","validation","validator","boolean","bool","true","false"],"bugs":{"url":"https://github.com/validate-io/boolean/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"^2.5.10","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"b8223c8403306e18aa5c12c390827787fb305087","homepage":"https://github.com/validate-io/boolean","_id":"validate.io-boolean@1.0.1","_shasum":"4ba9889bca70cb45cdece2277654cb12b04ee014","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"4ba9889bca70cb45cdece2277654cb12b04ee014","tarball":"https://registry.npmjs.org/validate.io-boolean/-/validate.io-boolean-1.0.1.tgz","integrity":"sha512-5ablU358tHeMpmDFpRihkwI/17D/tLkEHrbOUXwBhtARpuvoa8k+xbADdtM2DpnL1cMsUB9QHdmPIpb5QX48Cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/J+P0S/69BWFTLdyfB6eAuXqDS06bD4mCegT4ueTAwwIhAJCylWt6D8wQQzVjWCjKhsTtUqNj8Zcz7ic4GfcqV1Xd"}]}},"1.0.2":{"name":"validate.io-boolean","version":"1.0.2","description":"Validates if a value is a boolean.","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/boolean.git"},"keywords":["validate.io","validate","validation","validator","boolean","bool","true","false"],"bugs":{"url":"https://github.com/validate-io/boolean/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"^2.5.10","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"6f3a0ca2996b5191ee418235d20531c5140b6afe","homepage":"https://github.com/validate-io/boolean","_id":"validate.io-boolean@1.0.2","_shasum":"fc6a66a374fedbac3081793a31f510ea54fb518c","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"fc6a66a374fedbac3081793a31f510ea54fb518c","tarball":"https://registry.npmjs.org/validate.io-boolean/-/validate.io-boolean-1.0.2.tgz","integrity":"sha512-P+E9aA1diFXLic7CIM6SPua34flFig7htXEMMZ8Yi7o078nKq4Z7uXBpiWLsCvd8fs3FYIhVYNZ7MnLZ3LJKOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDx4lw7trYP6LPiQCT1t9RayfacCm6Bd8so/5kXdUFnAIhAK3UQ14gtIfT7J/6BZPSXPLNaI9oP9heLM21x7MKukDf"}]}},"1.0.3":{"name":"validate.io-boolean","version":"1.0.3","description":"Validates if a value is a boolean.","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/boolean.git"},"keywords":["validate.io","validate","validation","validator","boolean","bool","true","false","isboolean","is"],"bugs":{"url":"https://github.com/validate-io/boolean/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"^2.5.10","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"63683e11ced3fdcb96d5799f61934d2aa8e52f95","homepage":"https://github.com/validate-io/boolean","_id":"validate.io-boolean@1.0.3","_shasum":"4954fda381f3dee752967ff6a8f77beccb9a4149","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"4954fda381f3dee752967ff6a8f77beccb9a4149","tarball":"https://registry.npmjs.org/validate.io-boolean/-/validate.io-boolean-1.0.3.tgz","integrity":"sha512-CUK8Nu59HnYn2BjlKCOnC4a13JG/q564oTl/ad2XHMqqhSoAMK+nHAecCpRuaIvB2k5iZHqDuG9PhPL0rnJOKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD64qFsmrYd7FkNYDvPUO4rjVnpaww6KJJPCLApUEhU+wIhAMWVGp10qFZ7LtaPfgJ6fYocgTxw6XK17zzsfTo3h0mD"}]}},"1.0.4":{"name":"validate.io-boolean","version":"1.0.4","description":"Validates if a value is a boolean.","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/boolean.git"},"keywords":["validate.io","validate","validation","validator","boolean","bool","true","false","isboolean","is","type","check"],"bugs":{"url":"https://github.com/validate-io/boolean/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"^2.5.10","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"70b0200e168076dbe8fd6dee7121a0b7f43fdb76","homepage":"https://github.com/validate-io/boolean","_id":"validate.io-boolean@1.0.4","_shasum":"d6b7ade1f862d629ee4480a32dfdebb8fa9510a3","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"d6b7ade1f862d629ee4480a32dfdebb8fa9510a3","tarball":"https://registry.npmjs.org/validate.io-boolean/-/validate.io-boolean-1.0.4.tgz","integrity":"sha512-kQrj4QmbgBhOFg3T7B5WLxuQ5KFRy0D+hI53EojFUTVHQ+RXfy2VUjbpLa5hq+3c4OQb3qQGdF0VrlJHdKREgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICly03RWVgifmzuVSS0fao4DXipv9yZe5sqNO5Zdy0k0AiEAtBGRfz1aax+aPT4DA0DTPcAzWjVPjHg53GH86fPAKNg="}]}}},"readme":"Boolean\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 boolean.\n\n\n### Installation\n\n``` bash\n$ npm install validate.io-boolean\n```\n\nFor use in the browser, use [browserify](https://github.com/substack/node-browserify).\n\n\n### Usage\n\n``` javascript\nvar isBoolean = require( 'validate.io-boolean' );\n```\n\n#### isBoolean( value )\n\nValidates if a `value` is a `boolean`.\n\n``` javascript\nvar value = false;\n\nvar bool = isBoolean( value );\n// returns true\n```\n\n\n### Examples\n\n``` javascript\nconsole.log( isBoolean( false ) );\n// returns true\n\nconsole.log( isBoolean( '' ) );\n// returns false\n\nconsole.log( isBoolean( new Boolean() ) );\n// returns true\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\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; 2014. Athan Reines.\n\n\n[npm-image]: http://img.shields.io/npm/v/validate.io-boolean.svg\n[npm-url]: https://npmjs.org/package/validate.io-boolean\n\n[travis-image]: http://img.shields.io/travis/validate-io/boolean/master.svg\n[travis-url]: https://travis-ci.org/validate-io/boolean\n\n[coveralls-image]: https://img.shields.io/coveralls/validate-io/boolean/master.svg\n[coveralls-url]: https://coveralls.io/r/validate-io/boolean?branch=master\n\n[dependencies-image]: http://img.shields.io/david/validate-io/boolean.svg\n[dependencies-url]: https://david-dm.org/validate-io/boolean\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/validate-io/boolean.svg\n[dev-dependencies-url]: https://david-dm.org/dev/validate-io/boolean\n\n[github-issues-image]: http://img.shields.io/github/issues/validate-io/boolean.svg\n[github-issues-url]: https://github.com/validate-io/boolean/issues\n","maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"time":{"modified":"2022-06-28T08:31:44.435Z","created":"2014-08-31T06:01:48.988Z","0.0.0":"2014-08-31T06:01:48.988Z","0.0.1":"2014-08-31T06:30:08.442Z","1.0.0":"2014-09-01T18:31:32.824Z","1.0.1":"2015-02-07T21:21:41.005Z","1.0.2":"2015-02-19T20:29:48.960Z","1.0.3":"2015-02-20T10:41:43.828Z","1.0.4":"2015-02-20T10:49:50.608Z"},"homepage":"https://github.com/validate-io/boolean","keywords":["validate.io","validate","validation","validator","boolean","bool","true","false","isboolean","is","type","check"],"repository":{"type":"git","url":"git://github.com/validate-io/boolean.git"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"bugs":{"url":"https://github.com/validate-io/boolean/issues"},"readmeFilename":"README.md","users":{"sky3r":true}}