sanitize-html

v2.13.0

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 4 months 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

91 / 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.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,032,814)

Download trend
GitHub Stars
3.69K
Forks
351
Contributors
80

Direct Usage Popularity

TOP 5%

The npm package sanitize-html receives a total of 2,032,814 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,686 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: 91/100 package health 91/100

Maintenance

Healthy

Commit Frequency

Open Issues
14
Open PR
1
Last Release
4 months ago
Last Commit
4 months 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 12 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
114
Install Size
64.5 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.