Skip to content

kevinejohn/clean-html-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clean-html-js

clean html content for reading. simply pass in your content as html and get a readability object

Installation Instructions

$ yarn add clean-html-js

Example

Alt Text

import { cleanHtml } from "clean-html-js";

const grabReaderData = async function(html, url) {
  const readabilityArticle = await cleanHtml(html, url);
  console.log(data);
};

grabReaderData("https://www.a11ywatch.com");
  • For more help getting started checkout Example

Available Params

param default type description
url "" string Required: A valid web url source
html "" string Required: html string

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published