ESCUELLE (SQL) This library contains an SQL parser that converts a query string into a structured object (AST). How to use it Add it to you project with : $ npm install escuelle --save And use it into your code : var sql_parser = require('escuelle'); console.log( sql_parser('SELECT * FROM your_table'));