html-json Utilities for converting HTML to a simple JSON representation, and back again. Types See types.d.ts TODO: Option to strip on* attributes from tags. Maybe add excludeAttributes and allowedAttributes options?