Skip to content
PluginStats

eslint-plugin-import-typescript weekly downloads statistics

By hdoan741 · npm · ESLint plugins

Eslint rule enforcing supporting typescript absolute imports and paths

View on npm Fresh · Dec 6, 2026

eslint-plugin-import-typescript has 40,391 recorded weekly downloads on npm, an increase of 188% over the past 30 days, ranking #848 of 3,247 tracked listings.

Weekly downloads
40,391
Official API · Dec 5, 2026
7-day growth
+51.6%
+13.7K weekly downloads
30-day growth
+188%
+26.4K weekly downloads
90-day growth
+220%
+27.8K weekly downloads
Rank
#848
Among tracked npm listings

About eslint-plugin-import-typescript

eslint-plugin-import-typescript

An ESLint plugin that auto-fixes relative imports to absolute imports. Support baseUrl and paths config in TSConfig.

A typical project starts out using relative imports, but once it has gotten bigger, the relative imports grows longer and messier. This plugin is useful when you want to migrate the relative imports to absolute imports, and keep it that way through auto-fixes.

Built on Jeff Chen's Absolute Imports plugin.

Prerequisites

You must define baseUrl and paths (optional) in either tsconfig.json or jsconfig.json.

Setup

  • npm i --save-dev eslint-plugin-import-typescript
  • Add eslint-plugin-import-typescript to your eslint plugins section
  • Add one of the supported rules below to your eslint rules section.

Example:

  plugins: ['eslint-plugin-import-typescript'],
  rules: [
    'import-typescript/no-relative-parent-imports': ['error'],
  ]

Rules

RuleDescription
no-relative-importsAutofix relative imports to absolute import or paths import
no-relative-parent-importsAutofix relative parent imports to absolute import or paths import

The rule no-relative-parent-imports is useful when you still want to allow relative import within the same folder but disallow relative import in a parent folder. It's similar to eslint-plugin-import/no-relative-parent-imports rule, except it supports auto-fix. It is the recommended rule.

The rules supports baseUrl and paths, and will prioritize paths import if it exists. It's possible to disable one of the rewritting rules by setting the corresponding options

OptionsDescription
onlyAbsoluteImportIgnore paths config if it exists
onlyPathsImportDo not autofix absolute import. Only fix import if there is a path matching paths config

Example:

    'import-typescript/no-relative-parent-imports': [
        'error', { onlyAbsoluteImport: true } 
    ],

Related readings

While baseUrl and paths are understood and supported by Typescript, it doesn't rewrite the import paths when it compiles the typescript code to javascript. Belows are some related readings and library to get typescript absolute imports works:

Contributions

Contributions are welcome!

License

MIT

Description from the npm listing.

  • eslint
  • imports
  • absolute
  • relative
  • eslint-plugin
  • typescript
  • paths

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

eslint-plugin-import-typescript weekly downloads on npm, last 90 days: 40,391 weekly downloads as of Dec 5, 2026, +220% over 90 days.eslint-plugin-import-typescriptWeekly downloads on npm · Last 90 days40,391downloads / week+220% over 90 days010K20K30K40K50K60KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
eslint-plugin-import-typescript weekly downloads on npm, last 90 days: 40,391 weekly downloads as of Dec 5, 2026, +220% over 90 days.

7/30/90-day growth

eslint-plugin-import-typescript weekly downloads growth on npm: +51.6% over 7 days, +188% over 30 days, +220% over 90 days.eslint-plugin-import-typescriptWeekly downloads growth on npm40,391downloads / week now7-day growth+13,741 weekly downloads+51.6%30-day growth+26,351 weekly downloads+188%90-day growth+27,768 weekly downloads+220%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-plugin-import-typescript weekly downloads growth on npm: +51.6% over 7 days, +188% over 30 days, +220% over 90 days.

Ranking history

eslint-plugin-import-typescript npm ranking history: currently #848 (by weekly downloads).eslint-plugin-import-typescriptnpm ranking · by weekly downloads · Last 90 days#848current rank#840#850#860#870#880#890#900#910Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankDec 2, 2026 – Dec 6, 2026 · 5 observations · Updated Dec 5, 2026pluginstats.com
eslint-plugin-import-typescript npm ranking history: currently #848 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 43, #8 (overall #848)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins290 listings · 15 pages · page 11, #10 (overall #210)
ESLint plugins: every listing in weekly downloads order

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 (121)
Recent weekly downloads observations for eslint-plugin-import-typescript
Date (UTC)Weekly downloadsChange vs. previous
40,391+582
39,809+3.7K
36,120+4.6K
31,534+3.7K
27,844-734
28,578+895
27,683+1K
26,650-1K
27,663-6.5K
34,155-8.7K
42,863-8.8K
51,689+5.5K
46,206+2K
44,244—

Data 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-import-typescript. First seen Dec 2, 2026; last successful collection Dec 6, 2026. See the methodology.