Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
index.json | 2 years ago | |
license | 2 years ago | |
package.json | 2 years ago | |
readme.md | 2 years ago |
HTML character entity information.
npm:
npm install character-entities
var characterEntities = require('character-entities')
console.log(characterEntities.AElig) // => 'Æ'
console.log(characterEntities.aelig) // => 'æ'
console.log(characterEntities.amp) // => '&'
Mapping between (case-sensitive) character entity names to replacements.
See html.spec.whatwg.org
.
character-entities-html4
— HTML 4 character entity infocharacter-entities-legacy
— Legacy character entity infoparse-entities
— Parse HTML character referencesstringify-entities
— Stringify HTML character references