Skip to content
oxc-projectPublic

About

Taplo forked for Oxfmt

Resources

Security policy

Stars

9 stars

Watchers

2 watching

Forks

Repository files navigation

oxc-toml

This is a formatter-only fork of Taplo by Ferenc Tamás for Oxfmt.

oxc-toml is a TOML formatter library that preserves comments and meaningful whitespace.

How it works is in AGENTS.md.

Example

use oxc_toml::{format, parse, Options};

const SOURCE: &str = "value=1\n[table]\nstring='some string'";

let parsed = parse(SOURCE);
assert!(parsed.errors.is_empty());

let formatted = format(&parsed, Options::default());

License

MIT, as Taplo. See LICENSE.

Our sponsors

About

Taplo forked for Oxfmt

Resources

Security policy

Stars

9 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages