1 unstable release
0.1.1 | Jan 13, 2023 |
---|
#33 in #json-toml
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.5–2MB
~37K SLoC