{"name":"@putout/plugin-convert-const-to-let","version":"4.1.0","keywords":["putout","putout-plugin","plugin","convert","const","let","var","VariableDeclaration"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-convert-const-to-let@4.1.0","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-const-to-let#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"4ba4031cce22d26ad6627723a008f296434ac732","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-const-to-let/download/@putout/plugin-convert-const-to-let-4.1.0.tgz","fileCount":4,"integrity":"sha512-LbUBPZX+rdYrxynYpEUUvzic+r6RNpv4+bSn4XV2Z1ikRXuwpowTyAWZX8IvtgrO4zphr3ajGlI5VEojfW7bHw==","signatures":[{"sig":"MEQCIFvLqeXk+vPLj1WftnqM3RrF+zAxAlhc4wTjcfdPNcbtAiATUugnhjDVdlanqyO/YhJDfjugaAESd9rf3MmyYKAzew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4990,"size":2307,"noattachment":false,"key":"/@putout/plugin-convert-const-to-let/-/@putout/plugin-convert-const-to-let-4.1.0.tgz"},"main":"lib/convert-const-to-let.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"c0ef9dade8fa31f46520f7a2463604b62ac7817b","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"10.9.0","description":"🐊Putout plugin adds ability to convert 'const' to 'let'","directories":{},"_nodeVersion":"22.13.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^9.0.0","madrun":"^10.0.0","@putout/test":"^11.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","@putout/plugin-split-variable-declarations":"*"},"peerDependencies":{"putout":">=37"},"_npmOperationalInternal":{"tmp":"tmp/plugin-convert-const-to-let_4.1.0_1737209449061_0.8799448348369454","host":"s3://npm-registry-packages-npm-production"},"readme":"# @putout/plugin-convert-const-to-let [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-const-to-let.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-const-to-let \"npm\"\n\n> The `TypeError` object represents an error when attempting to modify a value that cannot be changed.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to convert `const` to `let` to avoid `TypeError`.\nCheck out in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/61ffff64a356c47e66af4ea17a9a755d/e7f5fa455c208a7faa9319d94130996d39afcbf7).\n\n## Install\n\n```\nnpm i @putout/plugin-convert-const-to-let -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"convert-const-to-let\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconst a = 5;\n\na = 3;\n```\n\n## ✅ Example of correct code\n\n```js\nlet a = 5;\n\na = 3;\n```\n\n## License\n\nMIT\n","publish_time":1737209449266,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1737209449266,"dist-tags":{"latest":"5.0.1"}}