Sha256: 6e4112ea1377d8ce594ad61503aa1d83c40e9357c2b5b31d2341ff3e5d4a8181
Contents?: true
Size: 1.76 KB
Versions: 23
Compression:
Stored size: 1.76 KB
Contents
# character-entities-html4 [![Build][build-badge]][build] [![Downloads][downloads-badge]][downloads] [![Size][size-badge]][size] HTML4 character entity information. ## Install [npm][]: ```sh npm install character-entities-html4 ``` ## Use ```js var characterEntities = require('character-entities-html4') console.log(characterEntities.AElig) // => 'Æ' console.log(characterEntities.aelig) // => 'æ' console.log(characterEntities.amp) // => '&' console.log(characterEntities.apos) // => undefined ``` ## API ### `characterEntitiesHTML4` Mapping between (case-sensitive) character entity names to replacements. ## Support See [`w3.org`][html]. ## Related * [`character-entities`](https://github.com/wooorm/character-entities) — HTML character entity info * [`character-entities-legacy`](https://github.com/wooorm/character-entities-legacy) — Legacy character entity info * [`parse-entities`](https://github.com/wooorm/parse-entities) — Parse HTML character references * [`stringify-entities`](https://github.com/wooorm/stringify-entities) — Stringify HTML character references ## License [MIT][license] © [Titus Wormer][author] <!-- Definitions --> [build-badge]: https://img.shields.io/travis/wooorm/character-entities-html4.svg [build]: https://travis-ci.org/wooorm/character-entities-html4 [downloads-badge]: https://img.shields.io/npm/dm/character-entities-html4.svg [downloads]: https://www.npmjs.com/package/character-entities-html4 [size-badge]: https://img.shields.io/bundlephobia/minzip/character-entities-html4.svg [size]: https://bundlephobia.com/result?p=character-entities-html4 [npm]: https://docs.npmjs.com/cli/install [license]: license [author]: https://wooorm.com [html]: https://www.w3.org/TR/html4/sgml/entities.html
Version data entries
23 entries across 23 versions & 1 rubygems