node package manager

shell-parse

Parse bash scripts into AST's

shell-parse

Parse bash scripts into AST's

Synopsis

module.exports := (String) => Object

(better synopsis will come after real tests)

Description

This thing parses strings containing bash scripts into an AST that you might execute using an interpreter or something. The AST structure is still in flux, so you probably don't want to build on this just yet!

Examples

See the tests for all the things that can be parsed.

License

MIT