character-reference-invalid
HTML invalid numeric character reference information
Last updated 4 years ago by wooorm .
MIT · Repository · Bugs · Original npm
$ cnpm install character-reference-invalid 
SYNC missed versions from official npm registry.

character-reference-invalid

Build Coverage Downloads Size

HTML invalid numeric character reference information.

Install

This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required.

npm:

npm install character-reference-invalid

Use

import {characterReferenceInvalid} from 'character-reference-invalid'

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

API

This package exports the following identifiers: characterReferenceInvalid. There is no default export.

characterReferenceInvalid

Mapping between invalid numeric character reference to replacements.

Support

See html.spec.whatwg.org.

Related

License

MIT © Titus Wormer

Current Tags

  • 2.0.1                                ...           latest (4 years ago)

3 Versions

  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.1.4                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (15)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org