Node.js
Read local files, uploads, S3/R2 objects, and other byte sources.
Convert GRAPHQL files to GitHub-Flavored Markdown directly in your browser.
Your GRAPHQL stays on your device. No upload. No account.
Starting local converter
$
npm install @mdgate/text
import { toMarkdown } from '@mdgate/text';
const markdown = await toMarkdown(bytes);
Pure TypeScript, Node.js, Cloudflare Workers, Edge, Browser, No Python, No native addons, No WASM, Zero third-party runtime dependencies
Read local files, uploads, S3/R2 objects, and other byte sources.
Normalize text files directly inside Workers without a second parser.
Convert GRAPHQL locally without uploading it to a server.
Run the same TypeScript converter in compatible Edge runtimes.
No separate processing service. The converter is TypeScript you can call from Node.js, Cloudflare Workers, Edge runtimes, and browsers.
GRAPHQL files can stay inside your application or browser.
Recognizes GRAPHQL files from their contents, not only the filename.
The same GRAPHQL file produces repeatable Markdown without model inference.
No Python. No native addons. No WASM. No third-party runtime dependencies.
Turn GRAPHQL files into content your agent can actually work with.
@mdgate/text
@mdgate/core
+ @mdgate/text
+ @mdgate/pdf
+ @mdgate/docx
@mdgate/converters
Yes. GRAPHQL files can be converted locally in the browser.
Yes. @mdgate/text runs directly in Cloudflare Workers.
No.
No.
GitHub-Flavored Markdown.
Yes. Install @mdgate/text instead of the complete converter set.
The path selects treatment (paragraphs, pass-through Markdown, or a code fence). It is never used to read a file from disk.