{"name":"@putout/operator-sort-properties","version":"1.0.0","keywords":["putout","putout-operator","operator","sort-properties"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/operator-sort-properties@1.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-sort-properties#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"74841bd0f2bcb7a0884e768356ee1254398793ce","tarball":"http://registry-npm.ywwl.com/@putout/operator-sort-properties/download/@putout/operator-sort-properties-1.0.0.tgz","fileCount":5,"integrity":"sha512-K8kgfmwmsUQJ4SHKAclL2+ESNiBmWzGf0aa8b2SZhikC+pf4h/rmSjIydu6BFOSmoxnZus277DTjJrpbWHAveQ==","signatures":[{"sig":"MEYCIQChy2B7KtaERlZ14FrFklXZyQa1OJLYmvqapBtrdlrVHwIhAJmL6bNfyHE1voLBp0PTSkYtusLj8bXcbXEwQqiXbt2F","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4659,"size":2193,"noattachment":false,"key":"/@putout/operator-sort-properties/-/@putout/operator-sort-properties-1.0.0.tgz"},"main":"lib/sort-properties.js","type":"module","types":"./lib/sort-properties.d.ts","engines":{"node":">=22"},"gitHead":"2a5049ad4a31506b189329b53c935566da1f09b8","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","wisdom":"madrun wisdom","coverage":"madrun coverage","fix:lint":"madrun fix:lint","test:dts":"madrun test:dts","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":"12.0.2","description":"🐊Putout operator adds ability to sort properties","directories":{},"_nodeVersion":"26.8.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","montag":"^2.0.0","putout":"*","nodemon":"^3.0.1","superc8":"^12.0.0","check-dts":"^2.0.0","supertape":"^13.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"tmp":"tmp/operator-sort-properties_1.0.0_1789305305682_0.28234214607688735","host":"s3://npm-registry-packages-npm-production"},"readme":"# @putout/operator-sort-properties [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/operator-sort-properties.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/operator-sort-properties \"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) operator simplify ability to create plugins that sorts `properties`.\n\n## Install\n\n```\nnpm i putout @putout/operator-sort-properties\n```\n\n## Rule\n\n### ❌ Example of incorrect code\n\n```json\n{\n    \"rules\": {\n        \"remove-useless\": \"on\",\n        \"add-missing\": \"on\"\n    }\n}\n```\n\n### ✅ Example of correct code\n\n```json\n{\n    \"rules\": {\n        \"add-missing\": \"on\",\n        \"remove-useless\": \"on\"\n    }\n}\n```\n\n## API\n\n```js\nimport {operator} from 'putout';\n\nconst {sortProperties} = operator;\n\nexport const {\n    report,\n    fix,\n    traverse,\n} = sortProperties('rules');\n```\n\n## License\n\nMIT\n","publish_time":1789305305814,"_cnpm_publish_time":1789305305814,"dist-tags":{"latest":"1.0.1"}}