1.0.0 • Published 11 months ago
@hudson-newey/html-character-codes v1.0.0
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