Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 436 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 436 Bytes

HTML Character Codes

This is no where near an exhaustive list and I am still working on the most obscure character codes

How to use

import { HTMLCharacterCodes } from "@hudson-newey/html-character-codes";

function htmlCode() {
    return `2019 ${HTMLCharacterCodes.enDash} 2020`;
}

Why are all the character codes not consolidated into one big object

Because I want the HTML character codes to be tree shakeable