@markdown-for-agents/hono 1.1.1 → 1.1.2
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 +17 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -5,6 +5,23 @@
|
|
|
5
5
|
|
|
6
6
|
Hono middleware for [markdown-for-agents](https://www.npmjs.com/package/markdown-for-agents) — a runtime-agnostic HTML to Markdown converter built for AI agents.
|
|
7
7
|
|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
Audit any URL — no installation required:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npx @markdown-for-agents/audit https://docs.github.com/en/copilot/get-started/quickstart
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
HTML Markdown Savings
|
|
18
|
+
───────────────────────────────────────────────────
|
|
19
|
+
Tokens 138,550 9,364 -93.2%
|
|
20
|
+
Chars 554,200 37,456 -93.2%
|
|
21
|
+
Words 27,123 4,044
|
|
22
|
+
Size 541.3 KB 36.6 KB -93.2%
|
|
23
|
+
```
|
|
24
|
+
|
|
8
25
|
Add one line to your Hono app and AI agents get clean, token-efficient Markdown instead of HTML. Normal browser requests pass through untouched.
|
|
9
26
|
|
|
10
27
|
## How it works
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdown-for-agents/hono",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Hono middleware
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"description": "Hono middleware — serve Markdown to AI agents via content negotiation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"engines": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"main": "./dist/index.mjs",
|
|
21
21
|
"types": "./dist/index.d.mts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"markdown-for-agents": "1.1.
|
|
23
|
+
"markdown-for-agents": "1.1.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"hono": ">=4.0.0"
|