Simple but flexible lexically ordered AST traversal with pre and post visitors.
The result is that the AST traversal happens in lexical order, i.e. an AST-traversal in this order will visit nodes in increasing source code position. It works with any Mozilla Parser API compatible AST, including those generated by Esprima and Acorn, see https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Parser_API
Usage and examples
MIT, see LICENSE file.