webforai 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,10 +101,14 @@ if (import.meta.env.DEV) {
|
|
|
101
101
|
- Code blocks keep their language, tables stay GFM tables, KaTeX and MathJax become LaTeX, and
|
|
102
102
|
lazy-loaded images come through. Page metadata (title, author, published, …) comes from
|
|
103
103
|
`htmlToMarkdownWithMetadata` or as YAML front matter with `frontmatter: true`.
|
|
104
|
+
- The snippet runs as-is in Node.js, Cloudflare Workers and browsers: the library uses no Node.js
|
|
105
|
+
built-ins and fetches nothing itself. Browser loaders (Playwright, Puppeteer) are optional.
|
|
104
106
|
|
|
105
107
|
From the shell: [`webforai-cli`](https://www.npmjs.com/package/webforai-cli), `npx webforai-cli <url>`,
|
|
106
108
|
with `--extractor agent` for agent mode (up to v4 it shipped in this package as `npx webforai`).
|
|
107
|
-
For pages that need a browser or a proxy, use the [hosted platform](#hosted-platform).
|
|
109
|
+
For pages that need a browser or a proxy, use the [hosted platform](#hosted-platform). With
|
|
110
|
+
nothing installed, `https://platform.webforai.dev/https://example.com/article` returns that page
|
|
111
|
+
as Markdown (a rate-limited demo without a key).
|
|
108
112
|
|
|
109
113
|
## Benchmarks
|
|
110
114
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webforai",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Convert web pages and local HTML to clean, LLM-ready Markdown. A dependency-light TypeScript library that runs in Node.js, Cloudflare Workers and browsers; the CLI is webforai-cli.",
|
|
5
5
|
"author": "inaridiy",
|
|
6
6
|
"license": "Apache-2.0",
|