antv-l7/node_modules/character-entities-legacy
thinkinggis f7e5376b7d fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
..
index.json fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
license fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
package.json fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
readme.md fix(fix css): fix css png 2019-11-22 18:04:14 +08:00

readme.md

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.

License

MIT © Titus Wormer