Introducing npm Teams! Private packages + team management tools.Learn more »

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

2,243,411

Version

1.1.3

License

MIT

Unpacked Size

5.46 kB

Total Files

4

Last publish

Collaborators

  • avatar