
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
character-entities-html4
Advanced tools
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 12.20+, 14.14+, or 16.0+), install with npm:
npm install character-entities-html4
In Deno with Skypack:
import {characterEntitiesHtml4} from 'https://cdn.skypack.dev/character-entities-html4@2?dts'
In browsers with Skypack:
<script type="module">
import {characterEntitiesHtml4} from 'https://cdn.skypack.dev/character-entities-html4@2?min'
</script>
import {characterEntitiesHtml4} from 'character-entities-html4'
console.log(characterEntitiesHtml4.AElig) // => 'Æ'
console.log(characterEntitiesHtml4.aelig) // => 'æ'
console.log(characterEntitiesHtml4.amp) // => '&'
console.log(characterEntitiesHtml4.apos) // => undefined
This package exports the following identifiers: 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.
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.
parse-entities
— parse (decode) character referencesstringify-entities
— serialize (encode) character referencescharacter-entities
— info on character entitiescharacter-entities-invalid
— info on invalid numeric character referencescharacter-entities-legacy
— info on legacy named character referencesYes please! See How to Contribute to Open Source.
FAQs
Map of named character references from HTML 4
The npm package character-entities-html4 receives a total of 8,602,547 weekly downloads. As such, character-entities-html4 popularity was classified as popular.
We found that character-entities-html4 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.