{"name":"@putout/plugin-apply-dot-notation","version":"3.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin applies dot notation","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-dot-notation#readme","main":"lib/apply-dot-notation.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","wdot-notationch:test":"madrun wdot-notationch: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","dot-notation"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/test":"^13.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^28.0.0","madrun":"^11.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=40"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-dot-notation@3.0.0","gitHead":"43a55e1751efe2a5c86ad66027fe34b95ea6f6ea","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"24.4.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-pZ9Z5Ag4CSwWxWkEKFxOOGgvEB4WTb6OH1Ebr3eBhnYORHN9JnZkLyElk3DE6+BpU7j+faDfkHaLlC5s/IaIWw==","shasum":"b34178212b126b8a80a0ac3f43b903e2ec169a64","tarball":"http://registry-npm.ywwl.com/@putout/plugin-apply-dot-notation/download/@putout/plugin-apply-dot-notation-3.0.0.tgz","fileCount":4,"unpackedSize":4731,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHiJbEX7L41FLMA+8pg+ExB/8mIPZmrOcfcZ5jheGW9GAiEA6GQtIVEnvajxXiTJKjGcJn2LHnzSMHGoUGPfVXDo/Fk="}],"size":2307,"noattachment":false,"key":"/@putout/plugin-apply-dot-notation/-/@putout/plugin-apply-dot-notation-3.0.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-npm-production","tmp":"tmp/plugin-apply-dot-notation_3.0.0_1754402587389_0.9902811619923793"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-apply-dot-notation [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-apply-dot-notation.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-apply-dot-notation \"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to apply dot notation. Checkout out in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/d0702a7f5765c0f26788be18296eefca/a33f4501ce1e6018e6bb1b52ae0f554cb4483a05).\n\n> Property accessors provide access to an object's properties by using the dot notation or the bracket notation.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Property_accessors)\n\n## Install\n\n```\nnpm i @putout/plugin-apply-dot-notation\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"apply-dot-notation\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\na.hello['world'];\n```\n\n## ✅ Example of correct code\n\n```js\na.hello.world;\na[1];\n```\n\n## Comparison\n\nLinter | Rule | Fix\n--------|-------|------------|\n🐊 **Putout** | [`apply-dot-notation`](https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-dot-notation#readme) | ✅\n⏣ **ESLint** | [`dot-notation`](https://eslint.org/docs/latest/rules/dot-notation) | ✅\n📖 **Blog** | [`Converting-Bracket-Notation-Dot-Notation`](https://steakenthusiast.github.io/2022/05/28/Deobfuscating-Javascript-via-AST-Manipulation-Converting-Bracket-Notation-Dot-Notation-for-Property-Accessors/) | ✅\n\n## License\n\nMIT\n","publish_time":1754402587584,"_cnpm_publish_time":1754402587584,"dist-tags":{"latest":"3.0.0"}}