Bash Source Code Parser

JSON →
library 0.5.0 ·javascript abandoned
verified May 27, 2026

bash-parser is a JavaScript library designed to parse bash source code and generate an Abstract Syntax Tree (AST). The current stable version is 0.5.0, which was last published in June 2017, indicating the project is currently abandoned. Its development aimed to provide a standard-compliant parser, initially forked from `js-shell-parse` and significantly rewritten to leverage a `jison` grammar for robust parsing. This library was intended to serve as the core parsing engine for other projects like `cash` and `nsh`, offering a programmatic way to analyze and manipulate bash scripts. Due to its abandonment, there is no ongoing release cadence, and users should be aware that no further updates, bug fixes, or security patches will be provided.

total hits 25
actors 10 distinct systems
last hit 1d ago Bingbot
MetaBot
4
ByteDance
3
ChatGPT-User
3
GPTBot
2
Script
1
ClaudeBot
1
Search engines
4

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇧🇷 Brazil