0.7.0 • Published 9 months ago
@dprint/toml v0.7.0
@dprint/toml
npm distribution of dprint-plugin-toml.
Use this with @dprint/formatter or just use @dprint/formatter and download the dprint-plugin-toml Wasm file.
Example
import { createFromBuffer } from "@dprint/formatter";
import { getPath } from "@dprint/toml";
import * as fs from "fs";
const buffer = fs.readFileSync(getPath());
const formatter = createFromBuffer(buffer);
console.log(formatter.formatText("test.toml", "key = 5"));0.6.4
11 months ago
0.7.0
9 months ago
0.6.3
1 year ago
0.6.2
2 years ago
0.6.1
2 years ago
0.6.0
2 years ago
0.5.4
4 years ago
0.5.3
4 years ago
0.5.2
4 years ago
0.5.1
4 years ago
0.5.0
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.3.0
4 years ago
0.3.2
4 years ago
0.3.1
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago