1 unstable release
0.1.1 | Jan 13, 2023 |
---|
#43 in #json-toml
57 downloads per month
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