webforai
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

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

Package Sidebar

Install

npm i webforai

Weekly Downloads

78

Version

2.1.1

License

Apache-2.0

Unpacked Size

202 kB

Total Files

146

Last publish

Collaborators

  • inaridiy