md2data
v0.1.4
Published
Node binding for md2data: Markdown → JSON/YAML/TOML/XML. Faster with Rust.
Readme
md2data for Node.js 📦🟢
Markdown → JSON/YAML/TOML/XML. Faster with Rust.
Installation
Install with npm.
npm install md2dataUsage
const { convert } = require('md2data');
const markdown = `# Hello World
This is a **markdown** document.
`;
const json = convert(markdown, 'json');
const yaml = convert(markdown, 'yaml');
const toml = convert(markdown, 'toml');
const xml = convert(markdown, 'xml');Developers: Build process
The build process can be initiated with npm run build.
