A babel plugin for performing tail call optimization in recursive functions.
ontanj/babel-plugin-recursive-tail-calls