0.1.1 • Published 11 months ago

@liquid-js/extractor v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Extractor

GitHub license npm scope

A tiny (~4KB) tool to extract DOM tree with styles and pseudo elements.

Installation

npm install @liquid-js/extractor

API Documentation

https://liquid-js.github.io/extractor/

Usage

import { serializeWithStyles } from '@liquid-js/extractor'

const element = document.getElementById('target-element')
const htmlCode = serializeWithStyles(element)

License

MIT License

0.1.1

11 months ago

0.0.7

4 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.3

6 years ago

0.0.4

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago