npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

character-reference-invalid

1.1.3 • Public • Published

character-reference-invalid

Build Downloads Size

HTML invalid numeric character reference information.

Installation

npm:

npm install character-reference-invalid

Usage

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

install

npm i character-reference-invalid

Downloadsweekly downloads

1,439,260

version

1.1.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability