Quick boilerplate to connect MariaDB and create Excel file in node.js.
-
Create a folder and put MARIADB_EXCEL.js in it.
-
To install dependency:
2-1. Open your terminal e.g git bash, powershell.
2-2. cd into the folder that your created.
2-3. npm i mariadb xlsx
-
To execute the file:
3-1. node MARIADB_EXCEL.js