We've recently started using dprint as our formatter, but we miss this from prettier.
For context:
https://dprint.dev/plugins/
I don't really know what's involved in making your tool compatible with dprint's plugin system, but it would be awesome.
Looks like this is the file that implements the interface:
https://github.com/dprint/dprint-plugin-typescript/blob/main/src/wasm_plugin.rs