Línea horizontal CMD de Windows

// if working on node js
const line = '-'.repeat(process.stdout.columns);

console.log(line)
shahul