codefmt: automation platform code formatter 作者: Josh Ozuna
format and lint javascript, python, and hubl in zapier, n8n, pipedream, make, and hubspot editors. powered by biome and ruff.
扩展元数据
关于此扩展
Format and lint your code directly inside automation platform editors. No copy-paste to VS Code or any other editor required.
Supported platforms:
How it works:
Features:
Privacy and data handling:
Security:
Built on:
Source code and configuration:
Supported platforms:
- Zapier (Code by Zapier action: JavaScript and Python)
- n8n (Code nodes: JavaScript and Python, on n8n.io and n8n.cloud)
- Pipedream (Code steps: JavaScript and Python)
- Make / Integromat (JavaScript code modules)
- HubSpot Data Hub (custom code actions: JavaScript and Python)
- HubSpot CMS / Design Manager (HubL templates with HTML and CSS contexts, plus module.js)
How it works:
- Open a code editor on any supported platform.
- Use any of three ways to format:
- Click the codefmt icon in your browser toolbar, then press format code.
- Right-click and select Format with codefmt (format only) or Fix with codefmt (format + safe fixes) (format plus safe lint fixes plus organize imports).
- Press the keyboard shortcut (Cmd+Shift+F on Mac, Ctrl+Shift+F on Windows and Linux by default).
- Your code is formatted and written back to the editor instantly.
- Any lint diagnostics are reported in a toast notification with their count.
Features:
- Platform-aware formatting that understands each platform's code structure (async wrappers, globals, return styles, line-width conventions)
- Auto-detects JavaScript, Python, and HubL (including HTML, CSS, and JavaScript contexts inside HubSpot Design Manager)
- Instant lint diagnostics powered by oxlint for JavaScript (50 to 100 times faster than ESLint) and Ruff for Python
- JavaScript and TypeScript formatting powered by Biome, with Prettier-compatible output
- Python formatting and linting powered by Ruff
- HubL formatting and linting via a custom in-house formatter built for HubSpot CMS templates
- Fix with codefmt right-click action that applies safe Biome lint fixes and organize-imports in one pass (added in 1.3.3)
- Configurable formatting: print width, quote style, semicolons, trailing commas, bracket spacing, arrow parens, JSX quote style, quote properties, bracket same line, and organize imports
- Sync settings from codefmt.dev with one click. Configure on the web, use in the extension.
- Customizable keyboard shortcut, default Cmd+Shift+F / Ctrl+Shift+F. Remap from about:addons → codefmt → Manage → Shortcuts.
- Per-tab badge shows fmt on supported sites so you know the extension is live
- Works with Monaco and CodeMirror 5 / 6 editors, which are the engines used by all supported platforms
- 50 KB code size limit per format request
- 30 second request timeout with automatic retry on transient network failures
Privacy and data handling:
- No accounts, no cookies, no tracking, no telemetry
- Your formatting preferences are stored locally in your browser only
- When you trigger a format, the code currently in your editor is sent over HTTPS to codefmt.dev/api/format, processed in memory, and returned formatted. Processing uses short-lived in-memory buffers and
ephemeral temporary files that are deleted immediately after the response is sent. Nothing is persisted to any database, logged, or shared with third parties. - The extension only runs on the supported platform domains listed above (plus codefmt.dev for the optional settings-sync feature)
- Full privacy policy: https://codefmt.dev/privacy
Security:
- Manifest V3 with minimal permissions (activeTab, contextMenus, storage, scripting)
- Strict hostname matching: only the exact supported domains are allowed to trigger format requests
- Hardened content security policy on the extension popup
- Per-session authentication tokens prevent page scripts from hijacking editor read/write operations
- No remote code execution. All scripts are bundled in the extension package and are plain, human-readable JavaScript with no minification or build step.
Built on:
- Biome (biomejs.dev): Rust-based, Prettier-compatible formatter that powers JavaScript and TypeScript output
- oxlint (oxc.rs): 50 to 100 times faster than ESLint, with a familiar rule set
- Ruff (astral.sh/ruff): Rust-based Python formatter and linter used by major Python projects
Source code and configuration:
- Web formatter: https://codefmt.dev
- About and support: https://codefmt.dev/about
- Privacy policy: https://codefmt.dev/privacy
评分 0(1 位用户)
权限与数据
必要权限:
- 访问您用于 zapier.com 域名的网站的数据
- 访问您用于 n8n.io 域名的网站的数据
- 访问您用于 n8n.cloud 域名的网站的数据
- 访问您用于 pipedream.com 域名的网站的数据
- 访问您用于 hubspot.com 域名的网站的数据
- 访问您用于 make.com 域名的网站的数据
- 访问您在 zapier.com 的数据
- 访问您在 n8n.io 的数据
- 访问您在 n8n.cloud 的数据
- 访问您在 pipedream.com 的数据
- 访问您在 hubspot.com 的数据
- 访问您在 make.com 的数据
可选权限:
- 访问您用于 zapier.com 域名的网站的数据
- 访问您用于 n8n.io 域名的网站的数据
- 访问您用于 n8n.cloud 域名的网站的数据
- 访问您用于 pipedream.com 域名的网站的数据
- 访问您用于 hubspot.com 域名的网站的数据
- 访问您用于 make.com 域名的网站的数据
- 访问您在 zapier.com 的数据
- 访问您在 n8n.io 的数据
- 访问您在 n8n.cloud 的数据
- 访问您在 pipedream.com 的数据
- 访问您在 hubspot.com 的数据
- 访问您在 make.com 的数据
- 访问您在 codefmt.dev 的数据
根据开发者所述,必要的数据收集:
- 网站内容
更多信息
- 附加组件链接
- 版本
- 1.3.6
- 大小
- 36.33 KB
- 上次更新
- 3 天前 (2026年6月1日)
- 相关分类
- 许可证
- MIT 许可证
- 隐私政策
- 阅读此附加组件的隐私政策
- 版本历史
- 添加到收藏集