Gathering detailed insights and metrics for character-entities-legacy
Gathering detailed insights and metrics for character-entities-legacy
Gathering detailed insights and metrics for character-entities-legacy
Gathering detailed insights and metrics for character-entities-legacy
List of legacy HTML named character references that don’t need a trailing semicolon
npm install character-entities-legacy
Typescript
Module System
Node Version
NPM Version
99.4
Supply Chain
99.4
Quality
75.6
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
4 Stars
73 Commits
1 Forks
3 Watchers
1 Branches
2 Contributors
Updated on Sep 08, 2023
Latest Version
3.0.0
Package Id
character-entities-legacy@3.0.0
Size
3.46 kB
NPM Version
8.1.0
Node Version
17.0.1
Published on
Oct 29, 2021
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
List of legacy HTML named character references that don’t need a trailing semicolon.
This is a list of certain named character references, that due to legacy
reasons, don’t need a trailing semicolon in HTML.
For example, ©
is perfectly fine for ©
!
Maybe when you’re writing an HTML parser or minifier, but otherwise probably
never!
Even then, it might be better to use parse-entities
or
stringify-entities
.
This package is ESM only. In Node.js (version 12.20+, 14.14+, or 16.0+), install with npm:
1npm install character-entities-legacy
In Deno with Skypack:
1import {characterEntitiesLegacy} from 'https://cdn.skypack.dev/character-entities-legacy@2?dts'
In browsers with Skypack:
1<script type="module"> 2 import {characterEntitiesLegacy} from 'https://cdn.skypack.dev/character-entities-legacy@2?min' 3</script>
1import {characterEntitiesLegacy} from 'character-entities-legacy' 2 3console.log(characterEntitiesLegacy.includes('copy')) // => true 4console.log(characterEntitiesLegacy.includes('frac34')) // => true 5console.log(characterEntitiesLegacy.includes('sup1')) // => true
This package exports the following identifiers: characterEntitiesLegacy
.
There is no default export.
characterEntitiesLegacy
List of (case sensitive) legacy character entity names.
wooorm/character-entities
holds their decoded values.
See whatwg/html
for more info.
This package is fully typed with TypeScript.
This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 12.20+, 14.14+, and 16.0+. It also works in Deno and modern browsers.
This package is safe.
wooorm/parse-entities
— parse (decode) character referenceswooorm/stringify-entities
— serialize (encode) character referenceswooorm/character-entities
— info on character entitieswooorm/character-entities-html4
— info on HTML4 character entitieswooorm/character-reference-invalid
— info on invalid numeric character referencesYes please! See How to Contribute to Open Source.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More