{"name":"@putout/plugin-remove-duplicate-keys","version":"4.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove duplicate keys","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-duplicate-keys#readme","main":"lib/remove-duplicate-keys.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch: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":{"fullstore":"^3.0.0"},"keyswords":["putout","putout-plugin","putout-plugin-remove","plugin","duplicate","key"],"devDependencies":{"@putout/test":"^8.0.0","c8":"^8.0.0","eslint":"^8.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-putout":"^22.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=34"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"gitHead":"76c22bb10d6df2f2ad5614c3b80aa66222a453ae","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-duplicate-keys@4.0.0","_nodeVersion":"20.10.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-WgPg9ky8YPIHvrSaaugMU3rIyK8CIOQuan+h4C6BAvVBc+ROOKNvgzrWjMfVNi/y4Uuez2otNH5Kdj/+HsF4oA==","shasum":"56d4985bbe5f6490e132c0e3dbe3d1f53450ee92","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-duplicate-keys/download/@putout/plugin-remove-duplicate-keys-4.0.0.tgz","fileCount":4,"unpackedSize":6518,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+DFSXX31HML8FgzCdLjaRxZeeO53SaZutrm0du5KUEAiEAv4GOk0XRr2IAgUO3gpqpNa/Qr2temXCT94U4lvWkSsM="}],"size":2523,"noattachment":false,"key":"/@putout/plugin-remove-duplicate-keys/-/@putout/plugin-remove-duplicate-keys-4.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-remove-duplicate-keys_4.0.0_1702591411676_0.5167201506698664"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-duplicate-keys [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-duplicate-keys.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-duplicate-keys\"npm\"\n\n> An object initializer is a comma-delimited list of zero or more pairs of property names and associated values of an object, enclosed in curly braces (`{}`).\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove duplecate keys.\n\n## Install\n\n```\nnpm i @putout/plugin-remove-duplicate-keys\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-duplicate-keys\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconst a = {\n    x: 'hello',\n    ...z,\n    x: 'world',\n};\n```\n\n## ✅ Example of correct code\n\n```js\nconst a = {\n    ...z,\n    x: 'world',\n};\n```\n\n## License\n\nMIT\n","publish_time":1702591411968,"_cnpm_publish_time":1702591411968,"dist-tags":{"latest":"9.2.0"}}