I need to require relative file and assign it to constant. But instead of hardcoded filename, I want to use variable.
const clientName = "google"; // Its coming from arvg
const client = require("./clients/" + clientName);
Is it OK or may be NodeJS has some other recommended ways? I use CommonJS syntax.