script to create a node server(node_server.js) , i want to include jquery library to that file.
i want to use jquery in this file , how to include jquery library to this javascript file ,
note that , i am not including this file to a view , this is a node server written in javascript .
part of my server
var server = http.createServer(function (request,response)
{
var pathRegex = new RegExp('^/publish/?$');
var pathname = url.parse(request.url).pathname;
if (pathRegex.test(pathname)) {
publish(request, response);
} else {
render404(request, response);
}
});