{"_id":"@putout/plugin-apply-filter-boolean","_rev":"4-8e1fc9697546ea9ec6610459c12d93cb","name":"@putout/plugin-apply-filter-boolean","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@putout/plugin-apply-filter-boolean","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to apply filter(Boolean)","homepage":"http://github.com/coderaiser/putout","main":"lib/apply-filter-boolean.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","filter-boolean"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^8.0.0-beta.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^9.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=19"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-filter-boolean@1.0.0","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-1hSb1rlsV1Ay4MiFNUt8zOHkzXd7pz5KElpbe+HI0eVvWlAbDmZOPzMAoGZaURWnI1g5YhaEOMOg159Md4RUng==","shasum":"899984aa5f86a14dc71bdd3b960a9e70b673724a","tarball":"https://registry.npmjs.org/@putout/plugin-apply-filter-boolean/-/plugin-apply-filter-boolean-1.0.0.tgz","fileCount":4,"unpackedSize":3426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLgTLCRA9TVsSAnZWagAA5pgP/0Hs1YiQ6H/6r+DFzHu4\n0yMMDweqeYMrc9R8a7HxzrA+BnPXpIi1HwVSCaowoFSPz4zvOFHQoveE7EFE\n/K7Hil3eICY0v5ReXeP9iQHSPE4BnNVJSVRzLSekI1OYQPClvFjDSgLnJa+L\noCTbrCHWeIwAfxIj3TBUgXNnMjh6Jf1haercoh22AJK4Vfm0z9oG4Xlqg+ru\ndU1LF3H5VMNa5H7+0nnxRAJ+BPSu24OAOewms+WgSQyk/1j8/mVUaC4b+8cA\n1hzEBV9UooIltcqz22DrXggMvHT9bP90xzI5C9NHni7LJZ8F+CxoqRvK0IMW\ne0j9e+oQm34S+3jVvZGkFllVUgtNcPjbPkQ0u2piXLcI4IYBENadIvFePfAK\nV8nzI1EPkEYC0eWdV4oE8vRV5zy3uI79dGeijMCUFNun4PcMXQGg82CPt3WS\nkl+61r3IiEuw3A4rJzm/BPzDuoIAGEGnO3rKysH+NMBd5ikuw/iRsORsq8r6\npHdeYEVL8s++mqLh6chEIKYlMsiX6Tdk4N8mD/EorGvzPjBv4+9QmLNDejYI\n+fMQMxGmM5aKkgLZpEEhXHPV09V4eOY9hiB7HajhlOuhIHYj4wCqwnqL3z13\nkxzYpSBKRm0/R2GOX9xlWFkr0YlopLhCDm85z7Rpz8we7HeJKDqVughTos/M\nJSY2\r\n=5J1y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsP4YWIWY1yYnKH/JtgIAFZIAOvNfzPhhzMC0q3zt5ZgIhAKpp90FuSEEPsm0HEl3CYqbXKGuyWpwPck3tphKYz+Fb"}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-filter-boolean_1.0.0_1630405834956_0.06317451571092092"},"_hasShrinkwrap":false},"1.1.0":{"name":"@putout/plugin-apply-filter-boolean","version":"1.1.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to apply filter(Boolean)","homepage":"http://github.com/coderaiser/putout","main":"lib/apply-filter-boolean.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","filter-boolean"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^11.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=19"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"187144a829fca900df58488601207cf1a3b134bb","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-filter-boolean@1.1.0","_nodeVersion":"16.8.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-R2X24XxKij0X73DB3Eh21tHxAe3Z/+K5YwBbyqCfD8ScwIXYXonZYawT2Q/WzPnKqyeB31tkT2Ksl3OhSDHTYg==","shasum":"5a90fb0e347748736d2b565b70872d100e4906ac","tarball":"https://registry.npmjs.org/@putout/plugin-apply-filter-boolean/-/plugin-apply-filter-boolean-1.1.0.tgz","fileCount":4,"unpackedSize":3186,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhvmiwB8/e3S7tvzWT1T2TITO9sDCikLNiYvCKlYzSVAiEAth95tb8nBRs85pig6xReUQ3/wGUMwxBoC4p8gTdU4J0="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-filter-boolean_1.1.0_1635753498073_0.3369224235479218"},"_hasShrinkwrap":false},"1.1.1":{"name":"@putout/plugin-apply-filter-boolean","version":"1.1.1","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to apply filter(Boolean)","homepage":"https://github.com/coderaiser/putout/tree/v21.6.0/packages/plugin-apply-filter-boolean","main":"lib/apply-filter-boolean.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","filter-boolean"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^11.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=19"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-filter-boolean@1.1.1","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-q7YyE+F9kskJ+fnB5t3p2tZigwHPlIRWVHVkkdzZi5AueHVKEIJhcM5mw0hjQzI+vi+dIk8ljeixat5BJs+H4Q==","shasum":"a9dca9b20074f6b9cff04c3ba44412103411457a","tarball":"https://registry.npmjs.org/@putout/plugin-apply-filter-boolean/-/plugin-apply-filter-boolean-1.1.1.tgz","fileCount":4,"unpackedSize":3383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2XmYCRA9TVsSAnZWagAA/58P/3YydpQsCulPC0FvEUvI\nw1vTB0eMKe4csDCPqH0oTTFi6nfWG5oW2/S9RnjwDynoEdz9PwiS5F+P4ZGf\n7Wv1BVuG3DkyQc9NWlSMRB0YdYX34SAyBhf9Vw5PVPwaDvnGHAt3MAX7wUSZ\nu8DfRNdXxgKiZkJ8QVzHtt6NMR0eWvdwumoGeOxny/CIq22WbCvxQsuH0/Y9\nRzxQJab4nulMfnm+1F51dO+LYWFDm8yLogCXHrFGPyYR1Vml3XJB21aGmZ8y\n3lCYuVDl27enwH8V5S2VfGAjzeU5fsbIydQssL17haCO9fdKOY1oORKc/dJy\nkZS3rWSGF4k1ULvaEFOnhJqjktubR4+PXfo5DHGPyycLmIyNzeqF3TFTd2CJ\nBv4P0iPDrkO2xuUos57qPCjMEe4t1mXikQnWC2EaHwV1qC1pZRT8P+14Sy+j\nFqcgudkuA7DG/MKSi234Uy6FYjcqtsU/63pdy3Tp3VMv+gw8P0nGI50q3zEQ\niuypLFeDbE9NcYvGrP4YAWYhVoMmxYu996kK2h38xgiqNDs3X3Tf5b7pdcEZ\n7Qt8N1bjiYykHHciqEdYUt52yCJaondrCZl9beTyHs92dSyvww68MllvsqgD\nib3hTE7wsRvBcFXFgIwy3j1ytAhOfPaFhLyUbFdC9MS5JcSdD1+mXB/Loo6j\nIyan\r\n=d5FL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGInvJiGgXzMOb2OkUqoS+NSO5sTZWz0wQDQkFJBPbtAiA+QvckxaeODaIq/bcWWf8CQA4JQO4ixAQBgiGUm4/egQ=="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-filter-boolean_1.1.1_1636562799425_0.08226812676657924"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-31T10:30:34.867Z","1.0.0":"2021-08-31T10:30:35.148Z","modified":"2022-04-06T17:11:49.031Z","1.1.0":"2021-11-01T07:58:18.203Z","1.1.1":"2021-11-10T16:46:39.592Z"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"description":"putout plugin adds ability to apply filter(Boolean)","homepage":"https://github.com/coderaiser/putout/tree/v21.6.0/packages/plugin-apply-filter-boolean","keywords":["putout","putout-plugin","plugin","filter-boolean"],"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT","readme":"# @putout/plugin-apply-filter-boolean [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-apply-filter-boolean.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-apply-filter-boolean \"npm\"\n\n`putout` plugin adds ability to apply `filter(Boolean)`. Better use [@putout/plugin-remove-useless-functions](https://github.com/coderaiser/putout/tree/v21.6.0/packages/plugin-remove-useless-functions).\n\n## Install\n\n```\nnpm i @putout/plugin-apply-filter-boolean\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"apply-filter-boolean\": \"on\"\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```ts\narray.filter((a) => a);\n```\n\n## ✅ Correct code Example\n\n```ts\narray.filter(Boolean);\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}