about codefmt
codefmt is a code formatter and linter built specifically for developers who write code in automation platforms like zapier, n8n, pipedream, make, and hubspot operations hub. it also formats and lints hubl— hubspot's cms template language.
these platforms wrap your code in async functions (javascript) or provide unique runtime globals like inputData or $input, and allow top-level await and bare return statements. this means standard formatters and linters either fail to parse your code or produce false positives.
codefmt solves this by automatically wrapping your code in the correct platform-specific structure before formatting and linting, then stripping the wrapper before returning the result. you paste raw code, you get formatted code back.
powered by
features
principles
support
codefmt is free and always will be. if it saves you time, consider supporting the project.