const fs=require("fs"); const files=fs.readdirSync(".tmp-shots/css"); for(const f of files){ const css=fs.readFileSync(".tmp-shots/css/"+f,"utf8"); for(const tok of [".px12-sm",".em12{",".em09{","icon-cover"]){ let i=css.indexOf(tok); if(i>=0) console.log(f,"|",tok,"|",css.slice(Math.max(0,i-60),i+80).replace(/\s+/g," ")); } }