Code formatter for the Tolk programming language, used in the TON blockchain ecosystem. Version 0.0.27 is the latest stable release, released under an active development cadence. It provides CLI-based formatting with options for --write, --check, and range formatting, making it suitable for CI/CD pipelines and editor integration. Ships TypeScript types. Differentiates by targeting Tolk specifically, with zero-config defaults and robust range formatting support for LSP integration.
npm install tolkfmt-test-devNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates programmatic usage of tolkfmt API to format a Tolk file from Node.js.
Use the stable package 'tolkfmt' when available.
Adjust indices to start from 0; use editor LSP extensions if available.
Use --write in CI or handle exit code appropriately.
Upgrade to Node.js 18+.
Run `npm i -g tolkfmt-test-dev` or use `npx tolkfmt-test-dev`.
Use `import { format } from 'tolkfmt'`.Fix syntax errors in your .tolk file before formatting.
No dependency data recorded yet.