3 [![Build][build-badge]][build]
4 [![Downloads][downloads-badge]][downloads]
5 [![Size][size-badge]][size]
7 HTML character entity information.
14 npm install character-entities
20 var characterEntities = require('character-entities')
22 console.log(characterEntities.AElig) // => 'Æ'
23 console.log(characterEntities.aelig) // => 'æ'
24 console.log(characterEntities.amp) // => '&'
31 Mapping between (case-sensitive) character entity names to replacements.
35 See [`html.spec.whatwg.org`][html].
39 * [`character-entities-html4`](https://github.com/wooorm/character-entities-html4)
40 — HTML 4 character entity info
41 * [`character-entities-legacy`](https://github.com/wooorm/character-entities-legacy)
42 — Legacy character entity info
43 * [`parse-entities`](https://github.com/wooorm/parse-entities)
44 — Parse HTML character references
45 * [`stringify-entities`](https://github.com/wooorm/stringify-entities)
46 — Stringify HTML character references
50 [MIT][license] © [Titus Wormer][author]
54 [build-badge]: https://img.shields.io/travis/wooorm/character-entities.svg
56 [build]: https://travis-ci.org/wooorm/character-entities
58 [downloads-badge]: https://img.shields.io/npm/dm/character-entities.svg
60 [downloads]: https://www.npmjs.com/package/character-entities
62 [size-badge]: https://img.shields.io/bundlephobia/minzip/character-entities.svg
64 [size]: https://bundlephobia.com/result?p=character-entities
66 [npm]: https://docs.npmjs.com/cli/install
70 [author]: https://wooorm.com
72 [html]: https://html.spec.whatwg.org/multipage/syntax.html#named-character-references