Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

character-entities

1.2.4 • Public • Published

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

Install

npm i character-entities

DownloadsWeekly Downloads

2,449,408

Version

1.2.4

License

MIT

Unpacked Size

47.7 kB

Total Files

4

Last publish

Collaborators

  • avatar