Description
leasot is a command-line tool and npm package that finds TODO and FIXME comments in your source files and prints or reports them. It uses regular expressions to pick comments out of code. The README lists comment rules: the marker can be upper or lower case, spaces and colons are optional, and it can be prefixed with an @. The marker must sit on its own line inside a line or block comment. Leading and trailing references, such as a username after the TODO, are read too. You can add your own tags through the tags option in the command line or customTags in the parse function. The README says it supports 49 or more languages, and new language parsers are welcome as pull requests. A usage section covers the command line and npm scripts, where the -x flag stops the command from exiting with an error code. Developers who want a report of open TODOs across a codebase, perhaps in a CI check, are the intended audience.…
Highlights
- Extracts TODO and FIXME comments
- Supports 49+ languages
- Custom tags
- Command-line and API usage
- Non-failing exit option for npm scripts
Ratings & Reviews
No ratings yet
Be the first to rate Leasot.
People also visit
Vscode Highlight
Advanced text highlighter based on regexes. Useful for todos, annotations etc

ponytail-debt
List every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger

antislop-code
Code comment hygiene for AI coding agents: remove generic AI-slop comments
Leasot FAQ
What does leasot do?
It scans comments in your files for TODO and FIXME markers and reports them.
Which languages does it support?
The README says 49 or more, and new languages can be added.
Can I add my own tags?
Yes. Use the tags option on the command line, or customTags in the parse function.
Will it break my build?
By default it exits with a non-zero code. The README says the -x flag prevents that, which helps in npm scripts.
What are the best Leasot alternatives?
Popular alternatives to Leasot include Todocheck, Vscode Highlight and Dstask. See all Leasot alternatives












