Comments - JavaScript - mariasql for node.js
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Here is what I recommend, use Sequelize and select the 'mysql' driver for connecting. Soon they will be integrating the 'mariadb' driver which will include the very latest optimized rendition. Sequelize is an absolute must due to security and structure. Do not go without using an ORM.
https://www.npmjs.com/package/sequelize
npm install sequelize yarn add sequelize