{"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":"http://registry-npm.ywwl.com/@putout/plugin-apply-if-condition/download/@putout/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","size":1964,"noattachment":false,"key":"/@putout/plugin-apply-if-condition/-/@putout/plugin-apply-if-condition-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-if-condition_1.1.0_1671959140069_0.39408022741245174"},"_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":1671959140323,"_cnpm_publish_time":1671959140323,"dist-tags":{"latest":"1.1.1"}}