HTML invalid numeric character reference information.
npm:
npm install character-reference-invalid
var characterReferenceInvalid = require('character-reference-invalid')
console.log(characterReferenceInvalid[0x80]) // => '€'
console.log(characterReferenceInvalid[0x89]) // => '‰'
console.log(characterReferenceInvalid[0x99]) // => '™'
characterReferenceInvalid
Mapping between invalid numeric character reference to replacements.
See html.spec.whatwg.org
.
character-entities
— HTML character entity infocharacter-entities-html4
— HTML 4 character entity infocharacter-entities-legacy
— Legacy character entity infoparse-entities
— Parse HTML character referencesstringify-entities
— Serialize HTML character references