ast-hoist (npm): hoist your variables (and function declarations)
Keywords: ast|hoist|esparse|esprima