Gathering detailed insights and metrics for character-entities-html4
Gathering detailed insights and metrics for character-entities-html4
Gathering detailed insights and metrics for character-entities-html4
Gathering detailed insights and metrics for character-entities-html4
Map of named character references from HTML 4
npm install character-entities-html4
99.2
Supply Chain
99.5
Quality
75.6
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
4 Stars
69 Commits
2 Forks
3 Watching
1 Branches
2 Contributors
Updated on 08 Sept 2023
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-0.6%
915,096
Compared to previous day
Last week
5.8%
4,910,863
Compared to previous week
Last month
17.4%
20,036,028
Compared to previous month
Last year
54.1%
176,684,344
Compared to previous year
Map of named character references from HTML 4.
This is a map of named character references in HTML 4 to the characters they represent.
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 14.14+, 16.0+), install with npm:
1npm install character-entities-html4
In Deno with esm.sh
:
1import {characterEntitiesHtml4} from 'https://esm.sh/character-entities-html4@2'
In browsers with esm.sh
:
1<script type="module"> 2 import {characterEntitiesHtml4} from 'https://esm.sh/character-entities-html4@2?bundle' 3</script>
1import {characterEntitiesHtml4} from 'character-entities-html4'
2
3console.log(characterEntitiesHtml4.AElig) // => 'Æ'
4console.log(characterEntitiesHtml4.aelig) // => 'æ'
5console.log(characterEntitiesHtml4.amp) // => '&'
6console.log(characterEntitiesHtml4.apos) // => undefined
This package exports the identifier characterEntitiesHtml4
.
There is no default export.
characterEntitiesHtml4
Map of case sensitive named character references from HTML 4.
See w3.org
for more info.
This package is fully typed with TypeScript. It exports no additional types.
This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 14.14+ and 16.0+. It also works in Deno and modern browsers.
This package is safe.
parse-entities
— parse (decode) character referencesstringify-entities
— serialize (encode) character referencescharacter-entities
— info on character entitiescharacter-reference-invalid
— info on invalid numeric character referencescharacter-entities-legacy
— info on legacy named 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
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
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
detected GitHub workflow tokens with excessive permissions
Details
Reason
no SAST tool detected
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 2024-11-18
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