{"name":"@putout/plugin-apply-if-condition","version":"1.1.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability apply if condition","homepage":"https://github.com/coderaiser/putout/tree/v28.19.2/packages/plugin-apply-if-condition#readme","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":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^16.0.0","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=16"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"06d290c88c35645d95655d4615515d6b064d22f7","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-if-condition@1.1.1","_nodeVersion":"18.15.0","_npmVersion":"9.1.3","dist":{"integrity":"sha512-PgOyATFsssw/JS9z411LMFRT01efoos9yKgxkFJAPzfgh9A24uXVwQu8sbqwvE6bvopMa7IpkEGyTB1SacbnDw==","shasum":"dbdaf60997a660096daaa9541494baaa6e8ab18b","tarball":"http://registry-npm.ywwl.com/@putout/plugin-apply-if-condition/download/@putout/plugin-apply-if-condition-1.1.1.tgz","fileCount":4,"unpackedSize":3986,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiIFQeOApiFG87pJXHLQMCswmXIGSzeSibuGgwgeKRUAIgDGRwJABsn8f4O1bVbO+EEdpisF3Jepb72k/s10lknHI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDHicACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXrRAAhR4mfyObguT5K7QBuel7dp6+1GlhK50BMEofWpnCjhOymhCu\r\nj/8eDABS+u95ZYQWyA5gD44TCu011vwPmldd4HoruT0+VvDwHOaNDTvV9EmO\r\nhsma1uvO42Vmy6tSY4iGDcyAX1xc8G8vyTV9pJ2c4u2u6zEnSegcLbllbOTF\r\nRcNrnEVJwB1rCze8qcknPBlOWIBoXDuv2LKDotAaxbQUE5bx03dsGYf2abJo\r\nNtMSMEybO0ucLVEfyibvBWwYPYCyIvUk/YvlYxMCrCqj9ziFAqCiMSwRTcYU\r\n6oIx7LbEeDMLHNvTq3YAy2lGtmTo6LcwyoMfMPm/hRVgWQz3stiH6z9wzD5+\r\nxTr9y9HKS0WSf2y8f3Eo4ZqKGESwcepn1KOKjg0FN3bnuS6QtMEgmhDdwamy\r\nu1/R3YEmVrqbMt92rmUxqxaSDiQvzw0YwJC6vP9+tjvjcruN0QvVWc5L1J5L\r\nfwXZVbtamZ5PKMP08t/5LO18Jc9msDzj7uRMY+Pfw9uvOIFdY5rTMaYl4e3z\r\nBoHEYwH7yIPqwy/FrjXzy0wIH3ak4q564lxHJ5xPcvw2rd5vyRFyZ+h4ohEZ\r\njvWSZCHujxzft80Ct5nDDci1QKwX2CSOTYDq2bV82vbhvqEZsVeJYzHtmWTS\r\nqzCyAlOfkvAgdgOrUJ7mLrc6tG4V8mLLEdY=\r\n=Ic2b\r\n-----END PGP SIGNATURE-----\r\n","size":1987,"noattachment":false,"key":"/@putout/plugin-apply-if-condition/-/@putout/plugin-apply-if-condition-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-if-condition_1.1.1_1678538908120_0.831942572447067"},"_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":1678538908311,"_cnpm_publish_time":1678538908311,"dist-tags":{"latest":"1.1.1"}}