Skip to content
JS
Package

cssfilter

Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS

v0.0.11, 15 Aug 2024MITCommonJSTypes: NoneSecurity
$ npm install cssfilter

Key numbers

As of 25 Sept 2026
Weekly downloads
4.1m
+55% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v0.0.11
GitHub stars
29
11 forks
Open issues / PRs
1 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 5.8m (25 Aug 2026)Low 1.7m (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.

4,125,305 downloads last week, 20,458,502 in the last month. The 12-month change of +55% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
012 in total
Latest version
0.0.11, 15 Aug 20242 years ago
First published
2 May 2015
Last push to GitHub
15 Aug 2024770 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
34

Major versions

  1. v0 first release 0.0.0, 2 May 2015

Recent releases

VersionPublished
0.0.1115 Aug 2024
0.0.101 Feb 2017
0.0.920 Dec 2016
0.0.812 Oct 2016
0.0.724 Apr 2016
0.0.623 Dec 2015
0.0.524 May 2015
0.0.45 May 2015
0.0.35 May 2015
0.0.25 May 2015
0.0.15 May 2015
0.0.02 May 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
31 kB
Dependencies (0)
None
npm install cssfilter
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cssfilter@0.0.11/
  • unpkghttps://unpkg.com/cssfilter@0.0.11/
  • esm.shhttps://esm.sh/cssfilter@0.0.11
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.