{"_id":"@putout/plugin-sort-imports-by-specifiers","_rev":"4-3befe7b33a204ef7f3e94ff59790f9ba","name":"@putout/plugin-sort-imports-by-specifiers","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"@putout/plugin-sort-imports-by-specifiers","version":"1.0.0","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-sort-imports-by-specifiers@1.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-sort-imports-by-specifiers#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"653e5d8d0230b1b49d170385083b04fe6d4f08ab","tarball":"https://registry.npmjs.org/@putout/plugin-sort-imports-by-specifiers/-/plugin-sort-imports-by-specifiers-1.0.0.tgz","fileCount":4,"integrity":"sha512-XJ1vZ+942dMfQpZhBEfHl8eNExTXBPPRfkJ6hTtc2wpKHOboyruxcXZZ2akquAmvjpnIzIYwMCUXLL+W8R6wZg==","signatures":[{"sig":"MEQCIBS4spsIiWgdkmDiJq/DLr3oG87XaEym4GJ14NYibxA6AiBQ1fA5a6Z5isDjB68Bo9KpSpG9Rn/ljQGO1BTdbF/5gw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4863},"main":"lib/sort-imports-by-specifiers.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"c4c276fe4cdd5fca2e95148b91bfc39e074b8622","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","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://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"10.4.0","description":"🐊Putout plugin adds ability to find and sort imports by specifiers","directories":{},"_nodeVersion":"20.11.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^9.0.0","lerna":"^6.0.1","eslint":"^9.0.0-alpha.0","madrun":"^10.0.0","nodemon":"^3.0.1","@putout/test":"^9.0.0","eslint-plugin-n":"^17.0.0-0","eslint-plugin-putout":"^22.0.0"},"peerDependencies":{"putout":">=35"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sort-imports-by-specifiers_1.0.0_1709562842657_0.2077024491919195","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@putout/plugin-sort-imports-by-specifiers","version":"1.1.0","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-sort-imports-by-specifiers@1.1.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-sort-imports-by-specifiers#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"950003f04dfd556d37a45a4a0124614145538f1f","tarball":"https://registry.npmjs.org/@putout/plugin-sort-imports-by-specifiers/-/plugin-sort-imports-by-specifiers-1.1.0.tgz","fileCount":4,"integrity":"sha512-4LUqfe7NIBjmZe7LzjlYBAyFjlgEPUYASFd+fV9oe/f5g3jF0A/uM3BrlqZI+twmNQNpkIlo9orVALVqps+K6Q==","signatures":[{"sig":"MEUCIC2/lki/IbR4uTH/XcokOPZZH/rqgfWPPEl+za/x8byQAiEAlwrz4BPZIaE15FHFtzoLDxdxZC43QvYDwyhHsliWymM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5056},"main":"lib/sort-imports-by-specifiers.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"dd0340cffa59bb3e1b78d0cd6db546a487f4bfca","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","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://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"10.4.0","description":"🐊Putout plugin adds ability to find and sort imports by specifiers","directories":{},"_nodeVersion":"20.11.1","dependencies":{"parse-import-specifiers":"^1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^9.0.0","lerna":"^6.0.1","eslint":"^9.0.0-alpha.0","madrun":"^10.0.0","nodemon":"^3.0.1","@putout/test":"^9.0.0","eslint-plugin-n":"^17.0.0-0","eslint-plugin-putout":"^22.0.0"},"peerDependencies":{"putout":">=35"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sort-imports-by-specifiers_1.1.0_1709733782804_0.7223772424692207","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@putout/plugin-sort-imports-by-specifiers","version":"1.1.1","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-sort-imports-by-specifiers@1.1.1","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-sort-imports-by-specifiers#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"e79d7fecfb7856580ba7ccee992c867a3ee30395","tarball":"https://registry.npmjs.org/@putout/plugin-sort-imports-by-specifiers/-/plugin-sort-imports-by-specifiers-1.1.1.tgz","fileCount":4,"integrity":"sha512-jT04D33eSL5hcYURPiJZ935ogS2LiS1ZVEj4Cyo9opUgcKWArfS48HIVj7ORw9nIbhDb1ZAQWr89UFKb+SimAw==","signatures":[{"sig":"MEUCIC2pAuqeGeiRwUQ0ng1HKTTaN0xOGdbj/yy8bvIrIirbAiEAlovR83RicYP5Oormb16e5nzbbLD4ZZOA3inAOmem/zA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5140},"main":"lib/sort-imports-by-specifiers.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"abde958138e302f0560ff37ab0d586d81ffc5305","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","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":"10.9.0","description":"🐊Putout plugin adds ability to find and sort imports by specifiers","directories":{},"_nodeVersion":"22.12.0","dependencies":{"parse-import-specifiers":"^1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","lerna":"^6.0.1","eslint":"^9.0.0","madrun":"^10.0.0","nodemon":"^3.0.1","@putout/test":"^11.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0"},"peerDependencies":{"putout":">=35"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sort-imports-by-specifiers_1.1.1_1734813442610_0.4274488368507259","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@putout/plugin-sort-imports-by-specifiers","version":"1.1.2","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-sort-imports-by-specifiers@1.1.2","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-sort-imports-by-specifiers#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"9a44c597009ed96af297f92abf2ce72517c05caf","tarball":"https://registry.npmjs.org/@putout/plugin-sort-imports-by-specifiers/-/plugin-sort-imports-by-specifiers-1.1.2.tgz","fileCount":4,"integrity":"sha512-EGEr0EYCdOyPFQHxtvN96a1oOK5S9UDeggMEm7lTJLlM2sFhqMMVOUutn3qo3uAtkJOX5ddnPtwbZfvSdpGrJQ==","signatures":[{"sig":"MEUCIQCdjkpgk6Fu+pf/bI6uINrtDxLQzbPMQY96XiVuwPyn6gIgaKHmFUWFzTjbhr10PJE8ZAwdil1FZgrDn6hh0ru2+fw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5167},"main":"lib/sort-imports-by-specifiers.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"06fa9243858a31e21523413915cb274b43652622","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","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":"10.9.0","description":"🐊Putout plugin adds ability to find and sort imports by specifiers","directories":{},"_nodeVersion":"22.12.0","dependencies":{"parse-import-specifiers":"^1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","lerna":"^6.0.1","eslint":"^9.0.0","madrun":"^10.0.0","nodemon":"^3.0.1","@putout/test":"^11.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0"},"peerDependencies":{"putout":">=35"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sort-imports-by-specifiers_1.1.2_1734865610590_0.32266116417405977","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@putout/plugin-sort-imports-by-specifiers","version":"1.1.3","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/v36.18.0/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.3","gitHead":"a1378fcc844912560795a271e583efe55cca3dff","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.13.1","_npmVersion":"10.9.0","dist":{"integrity":"sha512-JruWelekwlkbcwW6DpwlTRqDLwv/8CWi4A7KO1WjzacvI2jxjQ6bo5RmzNDqPsvBcxtuEiCBpUUJX7ne4hJOFQ==","shasum":"a49206be592d003449c214ab01327ce0884f2a39","tarball":"https://registry.npmjs.org/@putout/plugin-sort-imports-by-specifiers/-/plugin-sort-imports-by-specifiers-1.1.3.tgz","fileCount":4,"unpackedSize":5169,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCDOeYupYLpASdC4+smSKjDynMaXKnHsyxcpyymqiJdAAIhAJnMg6iXiMyM03PYFs6k5ym32ZWqzahww9Dcicw9+J8s"}]},"_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-sort-imports-by-specifiers_1.1.3_1739451949751_0.34263061562494324"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-04T14:34:02.520Z","modified":"2025-02-13T13:05:50.413Z","1.0.0":"2024-03-04T14:34:02.797Z","1.1.0":"2024-03-06T14:03:02.948Z","1.1.1":"2024-12-21T20:37:22.890Z","1.1.2":"2024-12-22T11:06:50.827Z","1.1.3":"2025-02-13T13:05:49.913Z"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"license":"MIT","homepage":"https://github.com/coderaiser/putout/tree/v36.18.0/packages/plugin-sort-imports-by-specifiers#readme","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"description":"🐊Putout plugin adds ability to find and sort imports by specifiers","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"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","readmeFilename":"README.md"}