dprint-node
dprint-node copied to clipboard
Ship with json plugin
Assuming it's not a huge deal, JSON is common in JS/TS projects, could dprint-node ship with it available as well?
I tried passing plugins, based on the dprint docs, but looks like that doesn't work:
const content = dprint.format("config.json", config, {
plugins: ["https://plugins.dprint.dev/json-0.15.5.wasm"],
});
As I got an InvalidArg.