Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

character-reference-invalid

1.1.2 • Public • Published

character-reference-invalid Build Status

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,144,435

version

1.1.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability