{"_id":"@putout/plugin-apply-if-condition","_rev":"3-b32156aabc24f411b0509f138049f4dc","name":"@putout/plugin-apply-if-condition","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"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":"https://registry.npmjs.org/@putout/plugin-apply-if-condition/-/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"}]},"_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},"1.1.0":{"name":"@putout/plugin-apply-if-condition","version":"1.1.0","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/master/packages/plugin-apply-if-condition#readme","main":"lib/apply-if-condition.js","commitType":"colon","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":"^5.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":"938972ee0b60ac6d7c649cc08521c9689ee62dad","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-if-condition@1.1.0","_nodeVersion":"18.12.1","_npmVersion":"9.1.3","dist":{"integrity":"sha512-8KL7LElBA5Vq2CixFd7CF41TKKR/GQSBtD6SRmPQ91RBn7s8gCe9kcDbS2RXTK/uOdzCe2SWLQUtqScv93r76Q==","shasum":"ea34b95376f709ec13a4276331e7b9c3a93105f2","tarball":"https://registry.npmjs.org/@putout/plugin-apply-if-condition/-/plugin-apply-if-condition-1.1.0.tgz","fileCount":4,"unpackedSize":3911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqTuzRPIZWOiOhVboDbHolp7ABARAq++LFZgM7G2aiFAIhAJE9KahCTwaPk6RK8m/lHCFqWesNn/I1+nhycr+Ld/fQ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqBJkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBrxAAjUDt1YvWHdLsQBv5B7meSnBCJI0Zs1pbdPQacxkNJ4ZB6qPG\r\nJClCXTzfQKTChnsdPLeVWeGNLmIE6ME5DNGC4IrY0GJtLR1iflK7dTgA8DkG\r\nXq8OuTKuyzMwbhVTbb/gHbkxHPJuL2QB0ti1AaY+5QfqNnda9GRNHqSnVsqF\r\nnkRNWnSj6NR04qJ2CX0zJc4ciR6y4wdKr6ogutJSewEM3epeaiSTtjNX3lRJ\r\nJZAQYEtly/sjakGPVj8nKVtVsxzGl97iAtAsgcaS4nVBDx0i+TeAT4DkdmiT\r\nLlhP+KNGy6i+uyhQmBwRA+LkuS4geea4w2Ng1RPKh7161VjQ9ZHDRtTvv88z\r\ngy78x99J/8dXzh3fhzeg50W1AbeW/fGGh1ikpvVk7TIoXshBHOHjhvJ9ojAI\r\njSD4n0lR9pRxGB+ex+murNE5/XffjDpCWQLvIMzjIQ4xrUy8T5NT5+N89E7E\r\nP215jJs10bYMP1l0QfSM/eAnbyFeG09WgsgUAlYh1ut2cHjQPOlz09ixwwhM\r\nqE1h0AbK5anQQ0a18US2+kXaPtg1hGJt7Dm1VoNUICXoiUnmg2tky9mW0EXA\r\nlePI+rDcNJPT4GlxK9LbRNIQqB3dLarldu5ENvmDmxU0HF0FuAzkgUQcBkfY\r\njFjH4sGTGIkh2iRAlrLIAAnGzvxpdufAVVQ=\r\n=sPwO\r\n-----END PGP SIGNATURE-----\r\n"},"_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.0_1671959140069_0.39408022741245174"},"_hasShrinkwrap":false},"1.1.1":{"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":"https://registry.npmjs.org/@putout/plugin-apply-if-condition/-/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"},"_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}},"time":{"created":"2021-06-12T21:17:11.832Z","1.0.0":"2021-06-12T21:17:12.183Z","modified":"2023-03-11T12:48:28.456Z","1.1.0":"2022-12-25T09:05:40.323Z","1.1.1":"2023-03-11T12:48:28.311Z"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"description":"🐊Putout plugin adds ability apply if condition","homepage":"https://github.com/coderaiser/putout/tree/v28.19.2/packages/plugin-apply-if-condition#readme","keywords":["putout","putout-plugin","plugin","if","condition"],"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-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","readmeFilename":"README.md"}