.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / character-entities-legacy / readme.md
1 # character-entities-legacy
2
3 [![Build][build-badge]][build]
4 [![Downloads][downloads-badge]][downloads]
5 [![Size][size-badge]][size]
6
7 HTML legacy character entity information: for legacy reasons some character
8 entities are not required to have a trailing semicolon: `&copy` is perfectly
9 okay for `©`.
10
11 ## Install
12
13 [npm][]:
14
15 ```sh
16 npm install character-entities-legacy
17 ```
18
19 ## Use
20
21 ```js
22 var characterEntitiesLegacy = require('character-entities-legacy')
23
24 console.log(characterEntitiesLegacy.copy) // => '©'
25 console.log(characterEntitiesLegacy.frac34) // => '¾'
26 console.log(characterEntitiesLegacy.sup1) // => '¹'
27 ```
28
29 ## API
30
31 ### `characterEntitiesLegacy`
32
33 Mapping between (case-sensitive) legacy character entity names to replacements.
34
35 ## Support
36
37 See [`whatwg/html`][html].
38
39 ## Related
40
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
49
50 ## License
51
52 [MIT][license] © [Titus Wormer][author]
53
54 <!-- Definitions -->
55
56 [build-badge]: https://img.shields.io/travis/wooorm/character-entities-legacy.svg
57
58 [build]: https://travis-ci.org/wooorm/character-entities-legacy
59
60 [downloads-badge]: https://img.shields.io/npm/dm/character-entities-legacy.svg
61
62 [downloads]: https://www.npmjs.com/package/character-entities-legacy
63
64 [size-badge]: https://img.shields.io/bundlephobia/minzip/character-entities-legacy.svg
65
66 [size]: https://bundlephobia.com/result?p=character-entities-legacy
67
68 [npm]: https://docs.npmjs.com/cli/install
69
70 [license]: license
71
72 [author]: https://wooorm.com
73
74 [html]: https://raw.githubusercontent.com/whatwg/html/master/json-entities-legacy.inc