eslint-plugin-typescript-sort-keys weekly downloads statistics
By infctr · npm · ESLint plugins
Sort interface and string enum keys
eslint-plugin-typescript-sort-keys has 231,954 recorded weekly downloads on npm, a decrease of 41.7% over the past 30 days, ranking #374 of 2,322 tracked listings.
About eslint-plugin-typescript-sort-keys
eslint-plugin-typescript-sort-keys
Sort interface and string enum keys
Inspired by and sourced from eslint/sort-keys
Installation
You'll first need to install
yarn add -D eslint typescript @typescript-eslint/parser
Next, install eslint-plugin-typescript-sort-keys:
yarn add -D eslint-plugin-typescript-sort-keys
Note: If you installed ESLint globally then you must also install eslint-plugin-typescript-sort-keys globally.
Usage
Specify the parser for typescript files in your .eslintrc configuration file:
{
"parser": "@typescript-eslint/parser"
}
Add typescript-sort-keys to the plugins section. You can omit the eslint-plugin- prefix:
{
"plugins": ["typescript-sort-keys"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"typescript-sort-keys/interface": "error",
"typescript-sort-keys/string-enum": "error"
}
}
Or enable all rules with defaults
{
"extends": ["plugin:typescript-sort-keys/recommended"]
}
Supported Rules
<!-- begin rule list -->Key: :heavy_check_mark: = recommended, :wrench: = fixable
<!-- prettier-ignore -->| Name | Description | :heavy_check_mark: | :wrench: |
|---|---|---|---|
typescript-sort-keys/interface | require interface keys to be sorted | :heavy_check_mark: | :wrench: |
typescript-sort-keys/string-enum | require string enum members to be sorted | :heavy_check_mark: | :wrench: |
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- typescript
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (543)Similar npm ESLint plugins plugins
All 20 eslint-plugin-typescript-sort-keys alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-typescript-sort-keys. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.