Node.js Dremio client to run SQL queries

What is the recommended and most popular way to connect to Dremio using Node.js to run SQL queries and get results in JSON format?

I found this - Dremio Events - Building a JavaScript SDK for Dremio | Dremio. However, couldn’t find any detailed documentation for Dremio.SQL service.

Is this recommended for use?