sanitize-html

v2.13.1

Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis For more information about how to use this package see README

Latest version published 1 month ago
License: MIT

Ensure you're using the healthiest npm packages

Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice

Package Health Score

94 / 100

Explore Similar Packages

Security

No known security issues
All security vulnerabilities belong to production dependencies of direct and indirect packages.

Security and license risk for significant versions

All Versions
Version Vulnerabilities License Risk
2.13.1 | 10/2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
2.13.0 | 03/2024
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
2.12.1 | 02/2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
1.27.5 | 09/2020
  • 0
    H
  • 0
    M
  • 0
    L
0.1.4 | 09/2013
  • 0
    H
  • 0
    M
  • 0
    L
License
MIT
Security Policy
No

Is your project affected by vulnerabilities?

Scan your projects for vulnerabilities. Fix quickly with automated fixes. Get started with Snyk for free.

Get started free

Popularity

Key ecosystem project

Weekly Downloads (2,343,869)

Download trend
GitHub Stars
3.83K
Forks
354
Contributors
80

Direct Usage Popularity

TOP 5%

The npm package sanitize-html receives a total of 2,343,869 downloads a week. As such, we scored sanitize-html popularity level to be Key ecosystem project.

Based on project statistics from the GitHub repository for the npm package sanitize-html, we found that it has been starred 3,827 times.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

Active
Readme.md
Yes
Contributing.md
No
Code of Conduct
Yes
Contributors
80
Funding
No

With more than 10 contributors for the sanitize-html repository, this is possibly a sign for a growing and inviting community.


Embed Package Health Score Badge

package health: 94/100 package health 94/100

Maintenance

Healthy

Commit Frequency

Open Issues
16
Open PR
2
Last Release
1 month ago
Last Commit
1 month ago

Further analysis of the maintenance status of sanitize-html based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Healthy.

We found that sanitize-html demonstrates a positive version release cadence with at least one new version released in the past 3 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Package

Node.js Compatibility
not defined

Age
11 years
Dependencies
6 Direct
Versions
115
Install Size
64.7 kB
Dist-tags
2
# of Files
4
Maintainers
16
TS Typings
Yes

sanitize-html has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.