A high-performance Markdown CLI tool built with Go, distributed via NPM.
- Blazing Fast: Sub-50ms startup time.
- Multi-platform: Native binaries for Windows, Linux, and macOS.
- Conversion: Convert Markdown to HTML, JSON, and more.
- Batch Processing: Process entire directories concurrently.
- Zero Dependencies: Single binary execution.
npm run publish-version 1.0.1This automates versioning, cross-platform Go builds, and NPM publication.
npx mdoc-cli --helpOr install globally:
npm install -g mdoc-cli@latest# Using npx (Recommended)
npx mdoc-cli convert README.md -o output/README.html
# If installed globally
mdoc-cli convert README.md -o output/README.htmlnpx mdoc-cli convert --recursive examples/ -o output/npx mdoc-cli validate README.mdmdoc-cli can be configured via flags, environment variables, or a mdoc-cli.yaml file.
verbose: true
theme: darkmdoc-cli handles platform-specific binaries automatically via the NPM wrapper:
- Windows: Executes
md-cli-windows-amd64.exe - Linux: Executes
md-cli-linux-amd64(x64) - macOS: Executes
md-cli-darwin-arm64(Apple Silicon)
MIT © Interpoolx