Prettier-plugin-sort-imports
A Prettier plugin designed to organize and sort imports in TypeScript and JavaScript files based on a specified order using regular expressions.
There are 2 open-source alternatives to sort-package-json in this directory. The most popular is Prettier-plugin-sort-imports with 3.9k GitHub stars, followed by Eslint-plugin-perfectionist(2.9k stars). All are open source, free to use, and many can be self-hosted.
| # | Tool | Stars | Language | License |
|---|---|---|---|---|
| 1 | Prettier-plugin-sort-imports A Prettier plugin designed to organize and sort imports in TypeScript and JavaScript files based on a specified order using regular expressions. | 3.9k | TypeScript | Apache License 2.0 |
| 2 | Eslint-plugin-perfectionist An ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, and more. | 2.9k | TypeScript | MIT License |
A Prettier plugin designed to organize and sort imports in TypeScript and JavaScript files based on a specified order using regular expressions.
An ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, and more.
The top three are Prettier-plugin-sort-imports(3.9k stars), Eslint-plugin-perfectionist(2.9k stars). All are open source and free to use.
Yes. Every tool listed here is open source and free to use in your own projects. Many can be self-hosted on your own infrastructure, which means no subscription fees and full control over your data.
Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.
Get notified about new tools and updates to existing ones.