12 lines
262 B
JavaScript
12 lines
262 B
JavaScript
// utils/helpers.js
|
|
|
|
// Example helper function to log messages with timestamps
|
|
const logWithTimestamp = (message) => {
|
|
const timestamp = new Date().toISOString();
|
|
console.log(`[${timestamp}] ${message}`);
|
|
};
|
|
|
|
module.exports = {
|
|
logWithTimestamp,
|
|
};
|