Dapatkan NodeJs jalur saat ini
console.log("Current directory:", __dirname);
//OR
console.log("Current directory:", process.cwd());
//OR
const path = require("path");
const directoryName = path.basename(__dirname);
console.log(directoryName);
Bug Killer