#convert-json #json-toml #tool #format #command-line-tool

nightly app json2toml

A simple CLI tool to convert json files into toml format

1 unstable release

0.1.1 Jan 13, 2023

#43 in #json-toml

Download history 17/week @ 2024-08-19 18/week @ 2024-08-26 4/week @ 2024-09-02 19/week @ 2024-09-09 15/week @ 2024-09-16 65/week @ 2024-09-23 6/week @ 2024-09-30 20/week @ 2024-10-07 1/week @ 2024-10-14 24/week @ 2024-10-21 14/week @ 2024-10-28 17/week @ 2024-11-04

57 downloads per month

MIT license

6KB
61 lines

json2toml

A simple CLI tool that converts json files to toml files. The created file's name matches the input file, but with the .toml extension instead of .json.

Inspired heavily by toml2json.

Usage:

json2toml [filename]

Example:

Input:

// file.json
{
    "key": "value"
}

Output:

# output.toml
key = "value"

Dependencies

~1.6–2.2MB
~41K SLoC