Polyconv

Polyconv

A modular TypeScript toolkit and CLI for structured data format conversion.

Polyconv is a modular structured data format conversion toolkit for JSON, TOML, YAML, XML, CSV, TSV, INI, ENV, Markdown, HTML, and URL query string workflows.

It provides focused packages instead of one all-format bundle, so applications can install the conversion surface they need. The CLI uses the same libraries for terminal workflows.

Install

pnpm add -g @polyconv/cli
pnpm add @polyconv/json @polyconv/toml

Example Usage

polyconv convert input.json --to yaml --pretty
polyconv convert input.toml --to json --output output.json
  • Quick Start for installation and first commands.
  • Conversions for the supported public conversion paths.
  • CLI for command options and stdin/stdout usage.
  • TypeScript for library examples.

On this page