mirror of
https://github.com/nodejs/node.git
synced 2025-05-06 21:35:34 +00:00

Greatly simplify how ESLint and its plugins are installed. PR-URL: https://github.com/nodejs/node/pull/53413 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1.7 KiB
1.7 KiB
character-entities
HTML character entity information.
Install
npm:
npm install character-entities
Use
var characterEntities = require('character-entities')
console.log(characterEntities.AElig) // => 'Æ'
console.log(characterEntities.aelig) // => 'æ'
console.log(characterEntities.amp) // => '&'
API
characterEntities
Mapping between (case-sensitive) character entity names to replacements.
Support
See html.spec.whatwg.org
.
Related
character-entities-html4
— HTML 4 character entity infocharacter-entities-legacy
— Legacy character entity infoparse-entities
— Parse HTML character referencesstringify-entities
— Stringify HTML character references