{"name":"@putout/plugin-convert-throw","version":"1.0.1","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.1","_nodeVersion":"13.7.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-osOeQ8UueD9hOko/v4UBd1tSf7xWSzHDDSsS5Dwg5cP6pGNwJ25as8hpqkgyWZXUxMJCuMdJ0p6lpRJfewRvoA==","shasum":"9f3c4a65a5a36511abeda570cdd2ea81d8d250f0","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-throw/download/@putout/plugin-convert-throw-1.0.1.tgz","fileCount":4,"unpackedSize":3360,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJ03dCRA9TVsSAnZWagAAQlAP/jP3SxfUMvosMcMZ1wJu\nyAXcHmUV4F2Uz0iEM90h7znvVxgrehppRVPaHXyd8p5+9vkPdh58bTjIkMZI\nHS9TGCkkpiQZaE2ts8Pn3MrEPyNKY4cqcVNT3pFmwZhW10HMB2DrhbrNsbi7\n8pf19nDqecCI7rrRdm7QJhSgq7JTgoNyNRRlfts7pteyDXhlbVLs2wX7J1Ap\nez7GNXjPaAOgEX65CkYXN3lwYeDX9jHfXcEmYVrK9TGANE3y1kY9ZMCX7ODW\nsQDdXKUvHA1SfSZTVL/DCiiQUuVxpvgKq96vJO2KF8qzlGlWs3Wkl0IGIAwG\nojqx/nKgq4m8HB6nnF1eZARn4rqOO4kqYfuNF1YnuZinaK7eToyc3bXcZgae\n1F2JsqaTvAy2OQb8LUDqSHcm2zGlzj/6LJipG2nTqYKagb9t+XMHDSk9ij6a\nXAQEm/o5rMIKCbqVHR9qMzyesxL7BOcgYSbNGcRyA4NBSgoLpYyqUEVAQuww\nor124mcHBNy8r5Slc9++HxF62dr1G/aA9HZ09YOBWKE+8CUhU3KzzcwlBGPG\np34zSztjRpbsxqvut4QvmqQupROzajbUV+qscRVf4TO2bEAgyaClBPdNdtlO\nRr33g0UMTiesPP8pGPmtQa6Gi0TkHMrxcfthX49LVyLWuCTABkgpqIPe+b5V\ny+2M\r\n=hKdO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmi+fBdee3SOuJrEpwW0krtHjTXyfDHGKfWeofIEA0jQIgEdcudndFxuP8CFpuyBBvvY78EiSwXRvkY83PJet4kYg="}],"size":1720,"noattachment":false,"key":"/@putout/plugin-convert-throw/-/@putout/plugin-convert-throw-1.0.1.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.1_1579634140600_0.2513057287772522"},"_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":1579634140838,"_cnpm_publish_time":1579634140838,"dist-tags":{"latest":"3.0.0"}}