[](https://www.npmjs.com/package/terraform-fmt) [](http://opensource.org/licenses/MIT)
npm install terraform-fmt

This library makes it possible to run terraform fmt command for a list of files with the help of Node.js.
A variation of this library needs to be developed every single time a developer wants to automatically apply formatting to a group of files (e.g. on git commit hook).
``bash`
npm install terraform-fmt
`bash``
terraform-fmt file1 file2 ... fileN