1 # character-entities-legacy
3 [![Build][build-badge]][build]
4 [![Downloads][downloads-badge]][downloads]
5 [![Size][size-badge]][size]
7 HTML legacy character entity information: for legacy reasons some character
8 entities are not required to have a trailing semicolon: `©` is perfectly
16 npm install character-entities-legacy
22 var characterEntitiesLegacy = require('character-entities-legacy')
24 console.log(characterEntitiesLegacy.copy) // => '©'
25 console.log(characterEntitiesLegacy.frac34) // => '¾'
26 console.log(characterEntitiesLegacy.sup1) // => '¹'
31 ### `characterEntitiesLegacy`
33 Mapping between (case-sensitive) legacy character entity names to replacements.
37 See [`whatwg/html`][html].
41 * [`character-entities`](https://github.com/wooorm/character-entities)
42 — HTML character entity info
43 * [`character-entities-html4`](https://github.com/wooorm/character-entities-html4)
44 — HTML 4 character entity info
45 * [`parse-entities`](https://github.com/wooorm/parse-entities)
46 — Parse HTML character references
47 * [`stringify-entities`](https://github.com/wooorm/stringify-entities)
48 — Serialize HTML character references
52 [MIT][license] © [Titus Wormer][author]
56 [build-badge]: https://img.shields.io/travis/wooorm/character-entities-legacy.svg
58 [build]: https://travis-ci.org/wooorm/character-entities-legacy
60 [downloads-badge]: https://img.shields.io/npm/dm/character-entities-legacy.svg
62 [downloads]: https://www.npmjs.com/package/character-entities-legacy
64 [size-badge]: https://img.shields.io/bundlephobia/minzip/character-entities-legacy.svg
66 [size]: https://bundlephobia.com/result?p=character-entities-legacy
68 [npm]: https://docs.npmjs.com/cli/install
72 [author]: https://wooorm.com
74 [html]: https://raw.githubusercontent.com/whatwg/html/master/json-entities-legacy.inc