JSPM

character-reference-invalid

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15617312
  • Score
    100M100P100Q235434F
  • License MIT

HTML invalid numeric character reference information

Package Exports

  • character-reference-invalid

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (character-reference-invalid) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.

License

MIT © Titus Wormer