{"_id":"@putout/plugin-apply-dot-notation","_rev":"4159447","name":"@putout/plugin-apply-dot-notation","description":"🐊Putout plugin applies dot notation","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T20:35:11.000Z","created":"2023-10-23T19:47:34.575Z","3.0.0":"2025-08-05T14:03:07.584Z","2.0.0":"2024-03-29T11:03:47.331Z","1.1.0":"2023-10-23T20:00:58.755Z","1.0.0":"2023-10-23T19:47:34.575Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"versions":{"3.0.0":{"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":{"shasum":"b34178212b126b8a80a0ac3f43b903e2ec169a64","size":2307,"noattachment":false,"key":"/@putout/plugin-apply-dot-notation/-/@putout/plugin-apply-dot-notation-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-dot-notation/download/@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,"_cnpmcore_publish_time":"2025-08-05T14:03:07.584Z","publish_time":1754402587584,"_source_registry_name":"default","_cnpm_publish_time":1754402587584},"2.0.0":{"name":"@putout/plugin-apply-dot-notation","version":"2.0.0","type":"common","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://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/test":"^9.0.0","c8":"^9.0.0","eslint":"^9.0.0-alpha.0","eslint-plugin-n":"^17.0.0-0","eslint-plugin-putout":"^22.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=35"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-dot-notation@2.0.0","gitHead":"3aa2aca6f9d82cd75accbe3160a6bab76b516069","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"20.11.1","_npmVersion":"10.5.0","dist":{"shasum":"335b0fb64fa7acacdfd14a3fab3f0b54fbe21efd","size":2321,"noattachment":false,"key":"/@putout/plugin-apply-dot-notation/-/@putout/plugin-apply-dot-notation-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-dot-notation/download/@putout/plugin-apply-dot-notation-2.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","tmp":"tmp/plugin-apply-dot-notation_2.0.0_1711710227165_0.3145460931628712"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-29T11:03:47.331Z","publish_time":1711710227331,"_source_registry_name":"default","_cnpm_publish_time":1711710227331},"1.1.0":{"name":"@putout/plugin-apply-dot-notation","version":"1.1.0","type":"common","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://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/test":"^7.0.0","c8":"^8.0.0","eslint":"^8.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-putout":"^20.0.0","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=32"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"7a50503cfdeb403f541a17eef42563b72e89d463","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-dot-notation@1.1.0","_nodeVersion":"18.16.0","_npmVersion":"9.6.6","dist":{"shasum":"5a81c6f8805c6b732c1d9beedbe63b260fe02545","size":2307,"noattachment":false,"key":"/@putout/plugin-apply-dot-notation/-/@putout/plugin-apply-dot-notation-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-dot-notation/download/@putout/plugin-apply-dot-notation-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-dot-notation_1.1.0_1698091258515_0.8963808143056737"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-23T20:00:58.755Z","publish_time":1698091258755,"_source_registry_name":"default","_cnpm_publish_time":1698091258755},"1.0.0":{"name":"@putout/plugin-apply-dot-notation","version":"1.0.0","type":"common","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://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/test":"^7.0.0","c8":"^8.0.0","eslint":"^8.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-putout":"^20.0.0","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=32"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"01a669273101e786c64857c96bcd3ac61865915f","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-dot-notation@1.0.0","_nodeVersion":"20.8.0","_npmVersion":"9.6.6","dist":{"shasum":"c8c40d3826e5581d1220d1dd1846f7e036c875d4","size":2290,"noattachment":false,"key":"/@putout/plugin-apply-dot-notation/-/@putout/plugin-apply-dot-notation-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-dot-notation/download/@putout/plugin-apply-dot-notation-1.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","tmp":"tmp/plugin-apply-dot-notation_1.0.0_1698090454327_0.8644017350601925"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-23T19:47:34.575Z","publish_time":1698090454575,"_source_registry_name":"default","_cnpm_publish_time":1698090454575}},"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","_attachments":{},"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-dot-notation#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT"}