Package
stylelint-plugin-defensive-css
A Stylelint plugin to enforce defensive CSS best practices.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/stylelint-plugin-defensive-css@2.9.7/ - unpkg
https://unpkg.com/stylelint-plugin-defensive-css@2.9.7/ - esm.sh
https://esm.sh/stylelint-plugin-defensive-css@2.9.7
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| stylelint-browser-compat | 26.9k | - | 10 months ago | CommonJS | - |
| stylelint-plugin-use-baseline | 7.5k | - | - | ESM only | - |
| @stylistic/stylelint-plugin | 456.9k | - | 1 month ago | ESM only | - |
| stylelint-declaration-block-no-ignored-properties | 120.3k | - | 7 months ago | ESM only | - |
| @stylistic/stylelint-config | 68.1k | - | 5 months ago | ESM only | - |
| stylelint-config-xo | 11k | - | 2 years ago | ESM only | - |
| stylelint-config-rational-order | 69.2k | - | - | CommonJS | - |
| stylelint-config-sass-guidelines | 273.5k | - | 7 months ago | CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 7112 < 10000.