Is it possible to use jQuery selectors/DOM manipulation on the server-side using Node.js?
You have to get the window using the new JSDOM API.
const jsdom = require("jsdom"); const { window } = new jsdom.JSDOM(`...`); var $ = require("jquery")(window);