Skip to content
PluginStats

eslint-plugin-no-type-assertion weekly downloads statistics

By Dremora · npm · ESLint plugins

Disallow type assertions in TypeScript code

View on npm Fresh · Dec 6, 2026

eslint-plugin-no-type-assertion has 54,780 recorded weekly downloads on npm, a decrease of 4.4% over the past 30 days, ranking #753 of 3,247 tracked listings.

Weekly downloads
54,780
Official API · Dec 5, 2026
7-day growth
-9.4%
-5.7K weekly downloads
30-day growth
-4.4%
-2.5K weekly downloads
90-day growth
+95.8%
+26.8K weekly downloads
Rank
#753
▼ 33 in 7 days

About eslint-plugin-no-type-assertion

eslint-plugin-no-type-assertion

Disallow type assertions in TypeScript code. The rule will forbid both as operator and the angle-bracketed syntax, unless used for const assertions or with the unknown type. The rule also forbids non-null assertions.

The following code becomes invalid:

const foo: unknown = 42;

const notAString = <string>foo; // can't perform angle-bracketed type assertion
const alsoNotAString = foo as string; // can't use `as` operator for type assertion

const objectWithOptionalProperty: { a?: number } = {};

const notANumber = objectWithOptionalProperty.a! / 2; // can't use non-null assertion operator

Installation

Ensure you have ESLint and @typescript-eslint/parser installed:

$ yarn add eslint @typescript-eslint/parser -D

Next, install this plugin:

$ yarn add eslint-plugin-no-type-assertion -D

Configuration

In your ESLint configuration, ensure you're using @typescript-eslint/parser as a parser and it's set up correctly:

{
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": 2018
  }
}

Add eslint-plugin-no-type-assertion to the plugin list:

{
  "plugins": ["no-type-assertion"]
}

Enable the rule:

{
  "rules": {
    "no-type-assertion/no-type-assertion": "error"
  }
}

Description from the npm listing.

  • eslint
  • eslintplugin
  • eslint-plugin

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-no-type-assertion weekly downloads on npm, last 90 days: 54,780 weekly downloads as of Dec 5, 2026, +95.8% over 90 days.eslint-plugin-no-type-assertionWeekly downloads on npm · Last 90 days54,780downloads / week+95.8% over 90 days010K20K30K40K50K60K70K80KSep 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-no-type-assertion weekly downloads on npm, last 90 days: 54,780 weekly downloads as of Dec 5, 2026, +95.8% over 90 days.

7/30/90-day growth

eslint-plugin-no-type-assertion weekly downloads growth on npm: -9.4% over 7 days, -4.4% over 30 days, +95.8% over 90 days.eslint-plugin-no-type-assertionWeekly downloads growth on npm54,780downloads / week now7-day growth-5,682 weekly downloads-9.4%30-day growth-2,533 weekly downloads-4.4%90-day growth+26,799 weekly downloads+95.8%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-plugin-no-type-assertion weekly downloads growth on npm: -9.4% over 7 days, -4.4% over 30 days, +95.8% over 90 days.

Ranking history

eslint-plugin-no-type-assertion npm ranking history: currently #753 (by weekly downloads).eslint-plugin-no-type-assertionnpm ranking · by weekly downloads · Last 90 days#753current rank#700#720#740#760#780#800#820Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
eslint-plugin-no-type-assertion npm ranking history: currently #753 (by weekly downloads).

Listing placement

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

Listing placement

ESLint plugins290 listings · 15 pages · page 10, #6 (overall #186)
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 (170)
Recent weekly downloads observations for eslint-plugin-no-type-assertion
Date (UTC)Weekly downloadsChange vs. previous
54,780-231
55,011+155
54,856-652
55,508-849
56,357-2.9K
59,212-1.6K
60,810+348
60,462-374
60,836-1.9K
62,717+634
62,083+81
62,002-282
62,284-2.4K
64,668—

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-no-type-assertion. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.