DotBox
A simple, readable configuration language.
key = "value"
multiline_string =
"
| Hey there!
| How's it going?
"
totally_true = true
definitely_false = false
"any text for your key" = "something"
"
| even multiline
| text can be used
" = "something"
set = {
decimal = -1_000_000.000_000
binary = -0b0000_0001
octal = -0o0123_4567
hex = -0xdead_beef
}
list = [
1
true
"three"
]
bool? = false
Install
Ready... Set... Done!
npm install --global @dotbox/cli
yarn add --global @dotbox/cli
npx @dotbox/cli
Compile
DotBox can compile your files to JSON.
dotbox compile ./my.box
dotbox compile ./my.box --output ./my.json