{"_id":"@putout/plugin-apply-filter-boolean","_rev":"4158804","name":"@putout/plugin-apply-filter-boolean","description":"putout plugin adds ability to apply filter(Boolean)","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T20:33:08.000Z","created":"2021-08-31T10:30:35.148Z","1.1.1":"2021-11-10T16:46:39.592Z","1.1.0":"2021-11-01T07:58:18.203Z","1.0.0":"2021-08-31T10:30:35.148Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"versions":{"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":{"shasum":"a9dca9b20074f6b9cff04c3ba44412103411457a","size":1698,"noattachment":false,"key":"/@putout/plugin-apply-filter-boolean/-/@putout/plugin-apply-filter-boolean-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-filter-boolean/download/@putout/plugin-apply-filter-boolean-1.1.1.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.1_1636562799425_0.08226812676657924"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T20:09:38.879Z","publish_time":1636562799592,"_cnpm_publish_time":1636562799592},"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":{"shasum":"5a90fb0e347748736d2b565b70872d100e4906ac","size":1651,"noattachment":false,"key":"/@putout/plugin-apply-filter-boolean/-/@putout/plugin-apply-filter-boolean-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-filter-boolean/download/@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,"_cnpmcore_publish_time":"2021-12-27T20:09:37.200Z","publish_time":1635753498203,"_cnpm_publish_time":1635753498203},"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":{"shasum":"899984aa5f86a14dc71bdd3b960a9e70b673724a","size":1717,"noattachment":false,"key":"/@putout/plugin-apply-filter-boolean/-/@putout/plugin-apply-filter-boolean-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-filter-boolean/download/@putout/plugin-apply-filter-boolean-1.0.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.0.0_1630405834956_0.06317451571092092"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T20:09:35.515Z","publish_time":1630405835148,"_cnpm_publish_time":1630405835148}},"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","_attachments":{},"homepage":"https://github.com/coderaiser/putout/tree/v21.6.0/packages/plugin-apply-filter-boolean","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT"}