angular-template-formatter
angular-template-formatter copied to clipboard
Expose APIs for Node scripts
Love this extension, use it on a daily basis. Thanks for the great work!
I would love the ability to run all of a project's HTML templates through the formatter during precommit, like it's possible to do w/ Prettier and JS/TS files. The deterministic template diffs would be a big win IMO. Is this already possible?
There is a cliformat.ts
file in the src directory, I use this to automate formatting my angular templates with my build system.
@stringham Is it possible to leverage cliformat.ts
as an ordinary npm package? I guess that's what I'm after.