I have a node js code like this
const admin = require('firebase-admin');
const serviceAccount = require("C:/Users/santo/Downloads/bestmpos-firebase-adminsdk.json");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount)
});
async function start (object){
const info = await fs.collection('users').doc(object.uid).get();
if (!info.exists) {
console.log('No document');
} else {
console.table(object.uid, [info.data()]);
}
}
I wanted to print console.table(object.uid, [info.data()]) in the HTML page with directy without hosting server, I just simply want to render the data in a html page directly
I need tag out of this directly, Which dependency should I use to get this?