How do I use jQuery in Windows Script Host?

前端 未结 2 520
感动是毒
感动是毒 2021-02-14 12:41

I\'m working on some code that needs to parse numerous files that contain fragments of HTML. It seems that jQuery would be very useful for this, but when I try to load jQuery i

2条回答
  •  情话喂你
    2021-02-14 12:49

    This is pretty easy to do in Node.js with the cheerio package. You can read in arbitrary HTML from whatever source you want, parse it with cheerio and then access the parsed elements using jQuery style selectors.

提交回复
热议问题