• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..18-Dec-2021-

LICENSEH A D18-Dec-20211.1 KiB2318

index.jsonH A D18-Dec-202142 KiB2,2252,224

package.jsonH A D18-Dec-20211.5 KiB5756

readme.mdH A D18-Dec-20211.3 KiB5936

readme.md

1# character-entities [![Build Status][travis-badge]][travis]
2
3HTML character entity information.
4
5## Installation
6
7[npm][]:
8
9```bash
10npm install character-entities
11```
12
13## Usage
14
15```js
16console.log(characterEntities.AElig); //=> 'Æ'
17console.log(characterEntities.aelig); //=> 'æ'
18console.log(characterEntities.amp); //=> '&'
19```
20
21## API
22
23### characterEntities
24
25Mapping between (case-sensitive) character entity names to replacements.
26
27## Support
28
29See [html.spec.whatwg.org][html].
30
31## Related
32
33*   [`character-entities-html4`](https://github.com/wooorm/character-entities-html4)
34    — HTML 4 character entity info
35*   [`character-entities-legacy`](https://github.com/wooorm/character-entities-legacy)
36    — Legacy character entity info
37*   [`parse-entities`](https://github.com/wooorm/parse-entities)
38    — Parse HTML character references
39*   [`stringify-entities`](https://github.com/wooorm/stringify-entities)
40    — Stringify HTML character references
41
42## License
43
44[MIT][license] © [Titus Wormer][author]
45
46<!-- Definitions -->
47
48[travis-badge]: https://img.shields.io/travis/wooorm/character-entities.svg
49
50[travis]: https://travis-ci.org/wooorm/character-entities
51
52[npm]: https://docs.npmjs.com/cli/install
53
54[license]: LICENSE
55
56[author]: http://wooorm.com
57
58[html]: https://html.spec.whatwg.org/multipage/syntax.html#named-character-references
59