{"name":"@putout/plugin-sort-imports-by-specifiers","version":"1.1.2","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and sort imports by specifiers","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-sort-imports-by-specifiers#readme","main":"lib/sort-imports-by-specifiers.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://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":{"parse-import-specifiers":"^1.0.3"},"keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"devDependencies":{"@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.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-sort-imports-by-specifiers@1.1.2","gitHead":"06fa9243858a31e21523413915cb274b43652622","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-EGEr0EYCdOyPFQHxtvN96a1oOK5S9UDeggMEm7lTJLlM2sFhqMMVOUutn3qo3uAtkJOX5ddnPtwbZfvSdpGrJQ==","shasum":"9a44c597009ed96af297f92abf2ce72517c05caf","tarball":"http://registry-npm.ywwl.com/@putout/plugin-sort-imports-by-specifiers/download/@putout/plugin-sort-imports-by-specifiers-1.1.2.tgz","fileCount":4,"unpackedSize":5167,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdjkpgk6Fu+pf/bI6uINrtDxLQzbPMQY96XiVuwPyn6gIgaKHmFUWFzTjbhr10PJE8ZAwdil1FZgrDn6hh0ru2+fw="}],"size":2376,"noattachment":false,"key":"/@putout/plugin-sort-imports-by-specifiers/-/@putout/plugin-sort-imports-by-specifiers-1.1.2.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-sort-imports-by-specifiers_1.1.2_1734865610590_0.32266116417405977"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-sort-imports-by-specifiers [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-sort-imports-by-specifiers.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-sort-imports-by-specifiers \"npm\"\n\n> The static **import** declaration is used to import read-only live bindings which are exported by another module.\n> The imported bindings are called live bindings because they are updated by the module that exported the binding, but cannot be re-assigned by the importing module.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and sort `import` statements by specifiers. Checkout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/521e2ff199243a7ce1f65db7140c272e/28c0588281286f8a6765b8aa2ecabbfcde2973a7). Merged with [`@putout/plugin-esm`](https://www.npmjs.com/package/@putout/plugin-esm#sort-imports-by-specifiers).\n\n## Install\n\n```\nnpm i @putout/plugin-sort-imports-by-specifiers\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"sort-imports-by-specifiers\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nimport {\n    a,\n    b,\n    c,\n    d,\n} from 'd';\nimport a1 from 'a1';\n```\n\n## ✅ Example of correct code\n\n```js\nimport a1 from 'a1';\nimport {\n    a,\n    b,\n    c,\n    d,\n} from 'd';\n```\n\n## License\n\nMIT\n","publish_time":1734865610827,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1734865610827,"dist-tags":{"latest":"1.1.2"}}