character-entities-html4
HTML4 character entity information.
Install
npm:
npm install character-entities-html4
Use
var characterEntities = require('character-entities-html4')
console.log(characterEntities.AElig) // => 'Æ'
console.log(characterEntities.aelig) // => 'æ'
console.log(characterEntities.amp) // => '&'
console.log(characterEntities.apos) // => undefined
API
characterEntitiesHTML4
Mapping between (case-sensitive) character entity names to replacements.
Support
See w3.org
.
Related
character-entities
— HTML character entity infocharacter-entities-legacy
— Legacy character entity infoparse-entities
— Parse HTML character referencesstringify-entities
— Stringify HTML character references