licenses.dev

sanitize-html v2.17.6

Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis

Published on

Licenses

Learn more about license information.

Package Licenses

MIT

Dependency Licenses

MIT10
PackageRelationDependenciesPublished
dayjs • 1.11.212KB immutable date time library alternative to Moment.js with the same modern API INDIRECT0
deepmerge • 4.3.1A library for deep (recursive) merging of Javascript objectsDIRECT0
dom-serializer • 3.1.1render domhandler DOM nodes to a stringINDIRECT3
escape-string-regexp • 4.0.0Escape RegExp special charactersDIRECT0
htmlparser2 • 12.0.0Fast & forgiving HTML/XML parserDIRECT5
is-plain-object • 5.0.0Returns true if an object was created by the `Object` constructor, or Object.create(null).DIRECT0
launder • 1.7.1A sanitize module for the people. Built for ApostropheCMS.DIRECT1
nanoid • 3.3.16A tiny (116 bytes), secure URL-friendly unique string ID generatorINDIRECT0
parse-srcset • 1.0.2A spec-conformant JavaScript parser for the HTML5 srcset attributeDIRECT0
postcss • 8.5.23Tool for transforming styles with JS pluginsDIRECT3
BSD-2-Clause4
PackageRelationDependenciesPublished
domelementtype • 3.0.0all the types of nodes in htmlparser2's domINDIRECT0
domhandler • 6.0.1Handler for htmlparser2 that turns pages into a domINDIRECT1
domutils • 4.0.2Utilities for working with htmlparser2's domINDIRECT4
entities • 8.0.0Encode & decode XML and HTML entities with ease & speedINDIRECT0
ISC1
PackageRelationDependenciesPublished
picocolors • 1.1.1The tiniest and the fastest library for terminal output formatting with ANSI colorsINDIRECT0
BSD-3-Clause1
PackageRelationDependenciesPublished
source-map-js • 1.2.1Generates and consumes source mapsINDIRECT0
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/npm/sanitize-html)](https://licenses.dev/npm/sanitize-html)
<a href="https://licenses.dev/npm/sanitize-html">
  <img src="https://licenses.dev/b/npm/sanitize-html" alt="licenses" />
</a>

Or the licenses badge code for the 2.17.6 version:

[![licenses](https://licenses.dev/b/npm/sanitize-html/2.17.6)](https://licenses.dev/npm/sanitize-html/2.17.6)
<a href="https://licenses.dev/npm/sanitize-html/2.17.6">
  <img src="https://licenses.dev/b/npm/sanitize-html/2.17.6" alt="licenses" />
</a>
GitHub