readme.md 1.9 KB

character-reference-invalid

Build Downloads Size

HTML invalid numeric character reference information.

Install

npm:

npm install character-reference-invalid

Use

var characterReferenceInvalid = require('character-reference-invalid')

console.log(characterReferenceInvalid[0x80]) // => '€'
console.log(characterReferenceInvalid[0x89]) // => '‰'
console.log(characterReferenceInvalid[0x99]) // => '™'

API

characterReferenceInvalid

Mapping between invalid numeric character reference to replacements.

Support

See html.spec.whatwg.org.

Related

License

MIT © Titus Wormer