Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

inaridiy/webforai

Open more actions menu

Repository files navigation


webforai logo

A esm-native library that converts HTML to Markdown & Useful Utilities with simple, lightweight and epic quality.

Version Apache License

Documentation

Head to the documentation to read and learn more about Webforai.

Overview

npx webforai@latest

or

import { htmlToMarkdown, htmlToMdast } from "webforai";
import { loadHtml } from "webforai/loaders/playwright";

// Load html from url
const url = "https://www.npmjs.com/package/webforai";
const html = await loadHtml(url);

// Convert html to markdown
const markdown = htmlToMarkdown(html, { baseUrl: url });

Support

License

Apache 2.0 License

About

The best HTML to Markdown library, A esm-native & Useful Utilities with simple, lightweight and epic quality.

Topics

Resources

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.