@liquid-js/extractor
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

@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)

Readme

Keywords

none

Package Sidebar

Install

npm i @liquid-js/extractor

Weekly Downloads

6

Version

0.0.7

License

MIT

Unpacked Size

25.1 kB

Total Files

16

Last publish

Collaborators

  • hitko