SQL parser/formatter written in JavaScript