const fs = require('fs'); const content = fs.readFileSync('D:/cumin/ghaymah_dns_net_sec_tests/ghaymah_bundle.js', 'utf8'); // Look for route mapping const idx = content.indexOf('path:"/overview"'); if (idx !== -1) { console.log(content.substring(idx - 200, idx + 600)); }