This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
character-reference-invalid with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
HTML invalid numeric character reference information.
npm install character-reference-invalid
var characterReferenceInvalid = require('character-reference-invalid') console.log(characterReferenceInvalid[0x80]) // => '€' console.log(characterReferenceInvalid[0x89]) // => '‰' console.log(characterReferenceInvalid[0x99]) // => '™'
Mapping between invalid numeric character reference to replacements.
character-entities— HTML character entity info
character-entities-html4— HTML 4 character entity info
character-entities-legacy— Legacy character entity info
parse-entities— Parse HTML character references
stringify-entities— Serialize HTML character references