@d-zero/html-distiller
v2.0.10
Published
A tool for precisely extracting essential information from HTML, enhancing machine readability. It removes unnecessary elements and provides the needed data in JSON format
Readme
@d-zero/html-distiller
HTML から不要な要素を削除し、機械可読な JSON ツリーに変換するユーティリティ。
Installation
yarn add @d-zero/html-distillerUsage
import { distill } from '@d-zero/html-distiller';
const result = distill(
'<!doctype html><html lang="en"><body><h1>Hello</h1></body></html>',
);