Skip to content
JS
Package

stylelint-plugin-defensive-css

A Stylelint plugin to enforce defensive CSS best practices.

v2.9.7, 6 Sept 2026MITESM + CommonJSTypes: BundledLinting and formattingCSS-in-JS and styling
$ npm install stylelint-plugin-defensive-css

Key numbers

As of 25 Sept 2026
Weekly downloads
7.1k
+126% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
18 days ago
v2.9.7
GitHub stars
174
11 forks
Open issues / PRs
0 / 5
Contributors
-
Commits, last 52 weeks
166

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15kSept 2025Mar 2026Sept 2026High 11.8k (25 Aug 2026)Low 1.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

7,112 downloads last week, 40,804 in the last month. The 12-month change of +126% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.9.7, 6 Sept 202618 days ago
First published
-
Last push to GitHub
6 Sept 202618 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
5
Commits, last 52 weeks
166
Dependents on npm
23

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
240 kB
Dependencies (1)
postcss-selector-parser
Peer dependencies (1)
stylelint
npm install stylelint-plugin-defensive-css
  • jsDelivrhttps://cdn.jsdelivr.net/npm/stylelint-plugin-defensive-css@2.9.7/
  • unpkghttps://unpkg.com/stylelint-plugin-defensive-css@2.9.7/
  • esm.shhttps://esm.sh/stylelint-plugin-defensive-css@2.9.7
PackageWeekly downloadsGzipLast releaseModuleComparison
stylelint-browser-compat26.9k-10 months agoCommonJS-
stylelint-plugin-use-baseline7.5k--ESM only-
@stylistic/stylelint-plugin456.9k-1 month agoESM only-
stylelint-declaration-block-no-ignored-properties120.3k-7 months agoESM only-
@stylistic/stylelint-config68.1k-5 months agoESM only-
stylelint-config-xo11k-2 years agoESM only-
stylelint-config-rational-order69.2k--CommonJS-
stylelint-config-sass-guidelines273.5k-7 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 7112 < 10000.