Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 18-Dec-2021 | - | ||||
LICENSE | H A D | 18-Dec-2021 | 1.1 KiB | 23 | 18 | |
index.json | H A D | 18-Dec-2021 | 42 KiB | 2,225 | 2,224 | |
package.json | H A D | 18-Dec-2021 | 1.5 KiB | 57 | 56 | |
readme.md | H A D | 18-Dec-2021 | 1.3 KiB | 59 | 36 |
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