character-entities-legacy
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.3 • Public • Published

    character-entities-legacy

    Build Downloads Size

    HTML legacy character entity information: for legacy reasons some character entities are not required to have a trailing semicolon: &copy is perfectly okay for ©.

    Installation

    npm:

    npm install character-entities-legacy

    Usage

    var characterEntitiesLegacy = require('character-entities-legacy')
     
    console.log(characterEntitiesLegacy.copy) // => '©'
    console.log(characterEntitiesLegacy.frac34) // => '¾'
    console.log(characterEntitiesLegacy.sup1) // => '¹'

    API

    characterEntitiesLegacy

    Mapping between (case-sensitive) legacy character entity names to replacements.

    Support

    See whatwg/html.

    Related

    License

    MIT © Titus Wormer

    Install

    npm i character-entities-legacy@1.1.3

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    6.63 kB

    Total Files

    4

    Last publish

    Collaborators

    • wooorm