Configurable syntax formatter for PureScript. Current stable version is 0.17.0. Uses a pre-baked operator precedence table for correct formatting without full codebase parsing. Key differentiator: editor integrations (Spacemacs, Vim, VS Code) and CI check commands. Compared to purty, it offers more configuration options and supports Nix.
npm install pursfmtNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install pursfmt as a dev dependency, format PureScript files in-place, generate a config file, and verify files are formatted in CI.
Install as a devDependency per project: npm install --save-dev pursfmt
Generate a custom operator table: spago sources | xargs pursfmt generate-operators > .pursfmtoperators
Use either config file or CLI arguments consistently.
Ensure installed locally: npx pursfmt ...
pursfmt is CLI-only; use npx or run via scripts.
No dependency data recorded yet.