Skip to content
HTML character entity information
JavaScript
Branch: master
Clone or download
Latest commit 2980174 Jan 24, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitignore
.npmrc
.prettierignore
.travis.yml
build.js
funding.yml
index.json
license
package.json
readme.md
test.js

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

You can’t perform that action at this time.