Node-mariadb is a pure javascript client for mariadb with a largely mysql protocol compatible.