{"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":"http://registry-npm.ywwl.com/@putout/plugin-apply-filter-boolean/download/@putout/plugin-apply-filter-boolean-1.1.0.tgz","fileCount":4,"unpackedSize":3186,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhvmiwB8/e3S7tvzWT1T2TITO9sDCikLNiYvCKlYzSVAiEAth95tb8nBRs85pig6xReUQ3/wGUMwxBoC4p8gTdU4J0="}],"size":1651,"noattachment":false,"key":"/@putout/plugin-apply-filter-boolean/-/@putout/plugin-apply-filter-boolean-1.1.0.tgz"},"_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,"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","publish_time":1635753498203,"_cnpm_publish_time":1635753498203,"dist-tags":{"latest":"1.1.1"}}