html-escaper
npmv3.0.3fast and safe way to escape and unescape &<>'" chars
Overview
html-escaper is an npm package that fast and safe way to escape and unescape &<>'" chars. The latest version is 3.0.3, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need fast and safe way to escape and unescape &<>'" chars and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of html-escaper.
Dependencies
Dev (5)
Used by
Popular packages that depend on html-escaper.
Alternatives to html-escaper
Escape string for use in HTML
protobuf-style varint bytes - use msb to create integer values of varying sizes
Encode a URL to a percent-encoded form, excluding already-encoded sequences
JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes
Create clickable links in the terminal
🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).
UI for Vitest
Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.
Sniff the encoding from a HTML byte stream
Minimizer plugin for webpack
Fast and safe decodeURIComponent
Escape RegExp special characters
Frequently installed together
React is a JavaScript library for building user interfaces.
React package for working with the DOM.
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Data library for istanbul coverage objects
Base reporting library for istanbul
Version history
| Version | Published | License |
|---|---|---|
| 3.0.3latest | 5 years ago | MIT |
| 3.0.2 | 5 years ago | MIT |
| 3.0.1 | 5 years ago | MIT |
| 3.0.0 | 6 years ago | MIT |
| 2.0.2 | 6 years ago | MIT |
| 2.0.1 | 6 years ago | MIT |
| 2.0.0 | 7 years ago | MIT |
| 1.0.1 | 9 years ago | MIT |
| 1.0.0 | 11 years ago | MIT |
Maintainers
Frequently asked questions
How do I install html-escaper?
Run `npm install html-escaper` to add html-escaper to your npm project.
What license is html-escaper released under?
html-escaper is distributed under the MIT license.
How popular is html-escaper?
html-escaper has approximately 0 downloads per week and 1 known dependent packages.