lix-website/themes/lix/assets/bootstrap/node_modules/character-entities/readme.md
2024-04-26 22:49:34 -06:00

1.7 KiB

character-entities

Build Downloads Size

HTML character entity information.

Install

npm:

npm install character-entities

Use

var characterEntities = require('character-entities')

console.log(characterEntities.AElig) // => 'Æ'
console.log(characterEntities.aelig) // => 'æ'
console.log(characterEntities.amp) // => '&'

API

characterEntities

Mapping between (case-sensitive) character entity names to replacements.

Support

See html.spec.whatwg.org.

License

MIT © Titus Wormer