Skip to content
HTML invalid numeric character reference information
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitignore
.npmrc
.prettierignore
.travis.yml
build.js
funding.yml
index.json
license
package.json
readme.md
test.js

readme.md

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

You can’t perform that action at this time.