{"name":"@putout/plugin-apply-if-condition","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply if condition","homepage":"http://github.com/coderaiser/putout","main":"lib/apply-if-condition.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","if","condition"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^8.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=16"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-if-condition@1.0.0","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"integrity":"sha512-jHGt6uQ/BfCHgwf5mFKhHdYE1T3NDMoC4szdEMq/8X6xQ4ECjUxN9MPdYLyxT2aCNCUlxdN/GUQK7J5JYYQqrg==","shasum":"4fe04aec2c960731dfaa3e85df5a850c0453f59c","tarball":"http://registry-npm.ywwl.com/@putout/plugin-apply-if-condition/download/@putout/plugin-apply-if-condition-1.0.0.tgz","fileCount":4,"unpackedSize":3710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxSRYCRA9TVsSAnZWagAAO08P/0fw1/rVc5nazju0eFec\nKtLQcQm7Mm39Ckf76Ag4eSMDcAnN4PEK49znaTt0TfE9tGc9tpq5pwh8Xsp8\nEsvi4e27Xsxe7isGBG7lsdYhUTCDL4bcr+qlesvDbs4jXsvEdoPwGlV8MggI\ndfY7bW/w+/5N+bntD+rSflPuDFYHNbX0NPT5euIGPCiLJPAxBEtiuM0FH+u1\njHlIdsVM4hXwhLh+9wBuIJCZIMTFLlxVZVBnRTiCiKfXeyKv78yczhdukWHI\ngPX/et0DCj7Pc/pdXTNPgBhDFXHWKfpXTt5cy1H9OPj3vABsnKdIGmn73gmT\nYrMEyZbe+fA3EoujR9NT7XP56Vg9g7rvAHysetgQF4RBb/avmOyB1mDu9SZ+\n+tGht+8/FYZ1/V3LMGZdqaVv0qa8kJlazaTCkJzYIgq0kYhxwZoIaAzC809u\nAjfdmUABwCXgZi9yz2PDajw9Y46Et9j75B4aFGO3S1plR9G60FT8Wn1VHmHc\n5PsQttO+2f3z7ZNQvajoowX0xlDGLswHCESHfVyQO/Bv60czzY0MQar8vuju\n1lDZS4dJWTvbGlPo2n+06mFvAJjnPEitauQnDiIaOy40OIROHO0bRZNRW0Sx\nsLgFj1b+44UPVYPq8NEluFNz3A8XEtMxaYDBZKiY0ddE3UGc17QK2WOjnyLy\nUlT9\r\n=a8Ou\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpRzvSMGG7YI0MkFpv+Wf8AoXACb0h6yWi4+ZTUEB15QIhAM8Xwe7zyMOGg44EeX6gcw8/o+2H9hThlCtVquhFnQfQ"}],"size":1809,"noattachment":false,"key":"/@putout/plugin-apply-if-condition/-/@putout/plugin-apply-if-condition-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-if-condition_1.0.0_1623532632059_0.7317891016312983"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-apply-if-condition [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-apply-if-condition.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-apply-if-condition\"npm\"\n\n> The `if` statement executes a statement if a specified condition is truthy.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to apply `if` condition. Merged to [`@putout/plugin-conditions`](https://www.npmjs.com/package/@putout/plugin-conditions).\n\n## Install\n\n```\nnpm i @putout/plugin-apply-if-condition\n```\n\n## Rule\n\nRule `apply-if-condition`:\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"apply-if-condition\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nif (2 > 3);\n    alert();\n```\n\n## ✅ Example of correct code\n\n```js\nif (2 > 3)\n    alert();\n```\n\n## License\n\nMIT\n","publish_time":1623532632183,"_cnpm_publish_time":1623532632183,"dist-tags":{"latest":"1.1.1"}}