lhl 6ff0e96ad3 8-4-1 1 년 전
..
index.json 6ff0e96ad3 8-4-1 1 년 전
license 6ff0e96ad3 8-4-1 1 년 전
package.json 6ff0e96ad3 8-4-1 1 년 전
readme.md 6ff0e96ad3 8-4-1 1 년 전

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 ©.

Install

npm:

npm install character-entities-legacy

Use

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