{"name":"@putout/plugin-convert-throw","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to convert throw statement into throw expression","homepage":"http://github.com/coderaiser/putout","main":"lib/convert-throw.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","convert","throw"],"devDependencies":{"@putout/test":"^1.3.0","coveralls":"^3.0.0","eslint":"^6.2.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^3.0.0","madrun":"^5.0.0","nyc":"^14.0.0","supertape":"^1.0.3"},"peerDependencies":{"putout":">=7.7"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-throw@1.0.0","_nodeVersion":"13.7.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-FyWiWaEgwpG1Ec+SAdbAdYVei9fKpZbt6k7bv5c3xJVFRoV1B+MVMBpVvagmil8KHYgbOViSVQBzmJiQYCV68A==","shasum":"f91230ae8040078309a871b3c3816b052279151a","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-throw/download/@putout/plugin-convert-throw-1.0.0.tgz","fileCount":4,"unpackedSize":3310,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJ0aRCRA9TVsSAnZWagAA1GkP/RZ8qB1CW2x19o9VnxMf\ngjAz6cj7qdRUUkGjzjVBpNIWR5at5eCuj2i7rCqSWp/kTaHHP3dvWWjpsXbI\nD/wBec1f2vpZJ5ss7rJYpJRBgfHaCNUFQSt/YSixOwHwQ2rLBqDt9pG2piCF\nKboVQNarMRnmv5rdC/ngKu7scZRbxUUPUaag1EmHuuFb7D+PtSCddPtIq6xU\n9MLEbqvT7sRngaCJu+j46X5FIWlcT1EYxqgS/jxFVkkr0ARGtjSyaypNVBOg\n1c8sRp4qzlQmlP4WhNh72bYCh0TIKbqB7xIxCMVJivVyS6bwLUz0T3WTINCb\nA5oaxkp5x0z9L6RKA+gE54E9WTg5fM+luE/6tG7jBLxVqqusrSr8Dqo0PHJo\nqzPf14JSkRb7BKjiLlZtfDMWvVcDZb52LNb+ZnT/UNqX2NXErVcBUPgmZ+nt\nzp9xGAWLaX+egaCPqxd2z1ORlTkLgQZKLZsdHm6PEbQ5w+sTwAap6c042wmd\n+rl4ZyA6aULSSmHaSGG4NJErPMtjJu2nM1oDn/stY7R/v4wC9Tes7d6yNFyY\n58Mcq7rPDxaXzTd+b2IJ8LJzw46tMKELlv5069FneMdzYaSmltr93/L43bHX\njekuOvCAb1KgV8IBhXaP54EbAGs7y24/ynDTJQhLNCtrxAaEEc5MQDStQqVH\n6aLo\r\n=gVrH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrRAuz3p4lbOFLGoPMTEWbCi1lWFktudunduAxvvBwYwIgfx6TdqXbOzwqV69HYhR7NK/BVKVtbS2hZ5dXCOfVb+s="}],"size":1718,"noattachment":false,"key":"/@putout/plugin-convert-throw/-/@putout/plugin-convert-throw-1.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-convert-throw_1.0.0_1579632273131_0.47047260230979093"},"_hasShrinkwrap":false,"readme":"# putout-plugin-convert-throw [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL]\n\n[NPMIMGURL]:                https://img.shields.io/npm/v/@putout/plugin-convert-throw.svg?style=flat&longCache=true\n[NPMURL]:                   https://npmjs.org/package/@putout/plugin-convert-throw \"npm\"\n\n[DependencyStatusURL]:      https://david-dm.org/coderaiser/putout?path=packages/plugin-convert-throw\n[DependencyStatusIMGURL]:   https://david-dm.org/coderaiser/putout.svg?path=packages/plugin-convert-throw\n\n`putout` plugin adds ability convert throw statement into throw expression.\n## Install\n\n```\nnpm i @putout/plugin-convert-throw -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"convert-throw\": true\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```js\nconst fn = () => {throw Error('hello')};\n```\n\n## ✅ Correct code Example\n\n```js\nconst fn = () => throw Error('hello');\n```\n\n## License\n\nMIT\n\n","publish_time":1579632273224,"_cnpm_publish_time":1579632273224,"dist-tags":{"latest":"3.0.0"}}