Skip to content

Node JS wrapper for Markitdown - converting files and office documents to Markdown.

License

Notifications You must be signed in to change notification settings

Mote-Software/markitdown

Repository files navigation

Node JS Markitdown

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.

Quick Start

npm Installation

# Install
npm install @mote-software/markitdown
pnpm install @mote-software/markitdown
yarn add @mote-software/markitdown

Download Binary

  • macOS: Intel (x64) and Apple Silicon (arm64)
  • Linux: x64
  • Windows: x64

Download pre-built binaries from the Releases page.

Usage

Programmatic API (Node.js)

const { getBinaryPath, runMarkitdown } = require('@mote-software/markitdown')

// Run markitdown and get output
const markdown = runMarkitdown('input.pdf')
console.log(markdown)

Credits

Wrapper of the excellent markitdown project by Microsoft.

About

Node JS wrapper for Markitdown - converting files and office documents to Markdown.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •