Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 570 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 570 Bytes

Build Status

Skeletonify

Skeletonify is utility library for DOM. it remove all content in DOM. useful for to make test file of scraping.

Install

npm install skeletonify

Example

import {Skeletonify} from "Skeletonify";
import * as fs from "fs";

const rawHtml = fs.readFileSync("PATH_TO_FILE", null).toString();
const skeletonify = new Skeletonify();

console.log(skeletonify.skeletionify(rawHtml));