c6afe09669
vvakame/typescript-formatter now support reading from stdin, but a filename has to be specified. I've tried it with both unsaved and saved buffers and it works fine.