Standalone NPM package for Markitdown - Convert various file formats to Markdown.
This repository builds and distributes markitdown as:
- Standalone binaries for Windows, macOS, and Linux
- npm package (
@mote-software/markitdown) with platform-specific binaries
Intended for Node JS use - web is not supported, though could be explored.
# Install
npm install @mote-software/markitdown
pnpm install @mote-software/markitdown
yarn add @mote-software/markitdown- macOS: Intel (x64) and Apple Silicon (arm64)
- Linux: x64
- Windows: x64
Download pre-built binaries from the Releases page.
const { getBinaryPath, runMarkitdown } = require('@mote-software/markitdown')
// Run markitdown and get output
const markdown = runMarkitdown('input.pdf')
console.log(markdown)Wrapper of the excellent markitdown project by Microsoft.