2 Open Source Alternatives to sort-package-json

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.

Quick comparison

Open-source alternatives to sort-package-json, ranked by GitHub stars
#ToolStarsLanguageLicense
1Prettier-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.9kTypeScriptApache License 2.0
2Eslint-plugin-perfectionist

An ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, and more.

2.9kTypeScriptMIT License

All open-source alternatives to sort-package-json

Frequently asked questions

What are the best open-source alternatives to sort-package-json?

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.

Are these alternatives to sort-package-json free?

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.

Can I self-host an alternative to sort-package-json?

Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.

Stay Updated!

Get notified about new tools and updates to existing ones.