Closed ajboni closed 2 years ago
It would be really nice to have an option to use double quotes instead of single quotes for strings.
test("quotes", () => { const obj = toml.parse('title = "test"', { joiner: "\n" }); const out = toml.stringify(obj, { newline: "\n", T: " " }); expect(out).toEqual('title = "test"'); });
- title = "test" + title = 'test'
@ajboni Now v1.25.0 is released, toml.parse('title = "test"', { joiner: "\n", x: { literal: true } }) / toml.basic may help. Welcome to foretaste, and give any feedback.
toml.parse('title = "test"', { joiner: "\n", x: { literal: true } })
toml.basic
It would be really nice to have an option to use double quotes instead of single quotes for strings.