Typstyle is a command-line formatter for source files written in Typst, the markup language used for typesetting documents. It rewrites Typst code into a consistent layout so that authors and teams can keep their source files tidy without arranging the code by hand.
The project is open source under the Apache-2.0 license, and its source code is publicly available. It is distributed for Windows through the winget package manager. The project documentation is hosted on its own website, where the maker, Wenzhuo Liu, describes how to use it.
Alternatives to typstyle
Products that do a similar job in Developer Tools.
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts
Hoppscotch
Open-source API client for REST, GraphQL and other HTTP requests
ripgrep
command-line search tool that finds regex matches across directory trees
Alacritty
GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD
bat
command-line file viewer with syntax highlighting and git integration
GitHub CLI
Command line tool for working with GitHub from the terminal
Insomnia
API client for testing GraphQL, REST, WebSocket, SSE and gRPC endpoints