Fold, diff and edit config files · Docs
JSON · YAML · TOML · INI/.env — React
import { Krona } from 'kronajs' <Krona format="json" theme="dark"> <Krona.Diff left={before} right={after} defaultCollapsedDepth={2} collapseUnchanged showMinimap /> </Krona>
Every control here is a real prop. The code below updates with them, so whatever you end up with is copy-pasteable.
npm i kronajs yarn add kronajs pnpm add kronajs
YAML lives behind kronajs/yaml so its parser never reaches a bundle that only shows JSON.