lhl 6ff0e96ad3 8-4-1 1 year ago
..
index.json 6ff0e96ad3 8-4-1 1 year ago
license 6ff0e96ad3 8-4-1 1 year ago
package.json 6ff0e96ad3 8-4-1 1 year ago
readme.md 6ff0e96ad3 8-4-1 1 year ago

readme.md

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.

Related

License

MIT © Titus Wormer