`gofmtr` is a simple npm package that exports a single function for formatting Go code. It's a lightweight, pure-JavaScript implementation of the `gofmt` command, and it can be used in any JavaScript environment.