@liquid-js/extractor
v0.0.7
Published
A tiny (~4KB) tool to extract DOM tree with styles and pseudo elements.
Downloads
4
Readme
@liquid-js/extractor
A tiny (~4KB) tool to extract DOM tree with styles and pseudo elements.
Basic use
import serializeWithStyles from '@liquid-js/extractor'
const element = document.getElementById('target-element')
const htmlCode = serializeWithStyles(element)