🌐
npm
npmjs.com › package › prettier-plugin-organize-imports
prettier-plugin-organize-imports - npm
Make sure that your import statements ... imports (i. e. sorts, combines and removes unused ones) using the organizeImports feature of the TypeScript language service API....
      » npm install prettier-plugin-organize-imports
    
Published   Sep 18, 2025
Version   4.3.0
Author   Simon Haenisch
🌐
GitHub
github.com › simonhaenisch › prettier-plugin-organize-imports
GitHub - simonhaenisch/prettier-plugin-organize-imports: Make Prettier organize your imports using the TypeScript language service API.
🤯 If your editor supports ... your imports so much that you won't even care about their order anymore. ... This plugin inherits, extends, and then overrides the built-in Prettier parsers for babel, babel-ts, typescript and vue.
Starred by 1.2K users
Forked by 44 users
Languages   JavaScript
🌐
npm
npmjs.com › package › prettier-plugin-imports
prettier-plugin-imports - npm
A prettier plugin to sort import declarations by provided Regular Expression order, while preserving side-effect import order.
      » npm install prettier-plugin-imports
    
Published   Apr 24, 2025
Version   4.3.3
Author   Avirup Ghosh
🌐
npm
npmjs.com › package › prettier-plugin-sort-imports
prettier-plugin-sort-imports - npm
A prettier plugin that sorts import statements by either their length or alphabetically.
      » npm install prettier-plugin-sort-imports
    
Published   Feb 17, 2026
Version   1.8.11
Author   Sander Ronde
🌐
GitHub
github.com › oki07 › prettier-plugin-astro-organize-imports
GitHub - oki07/prettier-plugin-astro-organize-imports: A Prettier plugin for formatting imports in Astro files · GitHub
A plugin that makes Prettier organize your imports (i. e. sorts, combines and removes unused ones) in Astro files using the organizeImports feature of the TypeScript language service API. npm install -D prettier prettier-plugin-astro-organize-imports
Author   oki07
🌐
Snyk
snyk.io › snyk vulnerability database › npm
prettier-plugin-organize-imports - npm package
We found that prettier-plugin-organize-imports demonstrates a positive version release cadence with at least one new version released in the past 12 months. As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community. ... The npm package prettier-plugin-organize-imports receives a total of 2,002,228 downloads a week.
🌐
James Shopland
jamesshopland.com › blog › sort-imports-with-prettier
Organising your JavaScript imports with Prettier | James Shopland
October 6, 2023 - If we wanted to ensure specific imports are always at the top, for example react, we need to add another line to our prettier config, importOrder ... This will match anything with react, and place it at the top.
🌐
GitHub
github.com › IanVS › prettier-plugin-sort-imports
GitHub - IanVS/prettier-plugin-sort-imports: An opinionated but flexible prettier plugin to sort import statements · GitHub
Additionally, any import statements lines that are preceded by a // prettier-ignore comment are also classified as unsortable. This can be used for edge-cases, such as when you have a named import with side-effects. Next, the plugin sorts the local imports and third party imports using natural sort algorithm.
Author   IanVS
Find elsewhere
🌐
DEV Community
dev.to › diballesteros › how-to-quickly-sort-imports-with-prettier-3po7
How to quickly sort imports with Prettier - DEV Community
March 30, 2022 - I typically like to keep the entire codebase as organized as possible as it makes sifting through the files much easier. With the help of prettier and a plugin, we can easily sort imports! As a side note if you’re using ESLint I have another article to sort imports using that. First, let’s install the necessary dependencies. We’ll need just two: prettier and the plugin 📦. npm install prettier @trivago/prettier-plugin-sort-imports --save-dev
🌐
GitHub
github.com › simonhaenisch › prettier-plugin-organize-imports › releases
Releases · simonhaenisch/prettier-plugin-organize-imports
Make Prettier organize your imports using the TypeScript language service API. - simonhaenisch/prettier-plugin-organize-imports
Author   simonhaenisch
🌐
trivago
tech.trivago.com › presenting @trivago/prettier-plugin-sort-imports
Presenting @trivago/prettier-plugin-sort-imports · trivago tech blog
If you want to have a consistent order of the import declarations throughout the project and independent of IDE configuration, then @trivago/prettier-plugin-sort-imports is the right Prettier plugin for you.
🌐
GitHub
github.com › simonhaenisch › prettier-plugin-organize-imports › blob › master › readme.md
prettier-plugin-organize-imports/readme.md at master · simonhaenisch/prettier-plugin-organize-imports
Make sure that your import statements ... imports (i. e. sorts, combines and removes unused ones) using the organizeImports feature of the TypeScript language service API....
Author   simonhaenisch
🌐
npm
npmjs.com › package › @ianvs › prettier-plugin-sort-imports
@ianvs/prettier-plugin-sort-imports - npm
Start using @ianvs/prettier-plugin-sort-imports in your project by running `npm i @ianvs/prettier-plugin-sort-imports`. There are 238 other projects in the npm registry using @ianvs/prettier-plugin-sort-imports.
      » npm install @ianvs/prettier-plugin-sort-imports
    
🌐
npm
npmjs.com › package › @trivago › prettier-plugin-sort-imports
@trivago/prettier-plugin-sort-imports - npm
A prettier plugin to sort import declarations by provided Regular Expression order.
      » npm install @trivago/prettier-plugin-sort-imports
    
Published   Jan 07, 2026
Version   6.0.2
Author   Ayush Sharma
🌐
Npm
npm.io › package › prettier-plugin-organize-imports
Prettier-plugin-organize-imports NPM | npm.io
Make sure that your import statements stay consistent no matter who writes them and what their preferences are. A plugin that makes Prettier organize your imports (i. e. sorts, combines and removes unused ones) using the organizeImports feature of the TypeScript language service API.
🌐
Medium
medium.com › @diballesteros › how-to-quickly-sort-imports-with-prettier-14f82b16a956
How to quickly sort imports with Prettier | by Diego Ballesteros (Relatable Code) | Medium
March 30, 2022 - I typically like to keep the entire codebase as organized as possible as it makes sifting through the files much easier. With the help of prettier and a plugin, we can easily sort imports! As a side note if you’re using ESLint I have another article to sort imports using that. First, let’s install the necessary dependencies. We’ll need just two: prettier and the plugin 📦. npm install prettier @trivago/prettier-plugin-sort-imports --save-dev
🌐
Socket
socket.dev › npm › package › prettier-plugin-organize-imports
prettier-plugin-organize-imports - npm Package Security Anal...
The prettier-plugin-organize-imports npm package is a plugin for Prettier that automatically organizes and sorts your import statements in JavaScript and TypeScript files.
🌐
Npm
npm.io › package › @jonny › prettier-plugin-organize-imports
@jonny/prettier-plugin-organize-imports NPM | npm.io
A plugin that makes Prettier organize your imports (i. e. sort and remove unused imports) using the organizeImports feature of the TypeScript language service API.