List of standard HTML tags
It's just a couple of JSON files that can be used in any environment.
It intentionally leaves out obsolete tags.
npm install html-tagsimporthtmlTagsfrom'html-tags';console.log(htmlTags);//=> ['a', 'abbr', 'acronym', …]And void (self-closing) tags:
import{voidHtmlTags}from'html-tags';console.log(voidHtmlTags);//=> ['area', 'base', 'br', …]Make sure to update types in index.d.ts when changing HTML elements.