This module provides a set of helper functions for working with HTML.
Using npm:
npm i @balmanth/htmlAfter installing the module, you need to import it as in the following example:
import * as Html from '@balmanth/html';You can now follow all the quick reference examples.
- Function isVoidElement
- Function isValidMarkup
- Function encodeText
- Function decodeText