var buf = Buffer.from('Hello, and welcome to Rome!');

console.log(buf.includes('welcome'));

              

true