all-named-html-entities
v3.0.9
Published
List of all named HTML entities
Downloads
3,170
Maintainers
Readme
Install
This package is pure ESM. If you're not ready yet, install an older version of this program, 1.6.0 (npm i [email protected]
).
npm i all-named-html-entities
Quick Take
import { strict as assert } from "assert";
import {
allNamedEntities,
allNamedEntitiesSetOnly,
allNamedEntitiesSetOnlyCaseInsensitive,
entStartsWith,
entEndsWith,
entStartsWithCaseInsensitive,
entEndsWithCaseInsensitive,
brokenNamedEntities,
decode,
minLength,
maxLength,
uncertain,
} from "all-named-html-entities";
assert.equal(Object.keys(allNamedEntities).length, 2125);
assert.equal(entStartsWith.A.E[0], "AElig");
Documentation
Please visit codsen.com for a full description of the API.
Contributing
To report bugs or request features or assistance, raise an issue on GitHub.
Licence
MIT License.
Copyright © 2010-2024 Roy Revelt and other contributors.