Skip to main content

All Questions

Filter by
Sorted by
Tagged with
8 votes
2 answers
385 views

Serving a webpage that displays the HTTP request information sent by the client

In order to learn web server programming in Node and JavaScript, I decided to implement a simple web server that only does one thing: Display data of the HTTP request as an HTML table. The actual ...
NPN328's user avatar
  • 761
1 vote
2 answers
768 views

Find if cookie name exists in the cookie string

I need to determine whether a cookie name is available or not in the cookie string. I have achieved this. We could use the cookie-parser package but I don't want to use that package so I have written ...
Beginner's user avatar
  • 111
3 votes
1 answer
7k views

Check if the website is up

api.js ...
CodeYogi's user avatar
  • 5,127
10 votes
1 answer
6k views

Node.js parallel file download, the ES6 way

I wrote a script that downloads all PDFs found on the web page of a particular government agency. I would have chosen bash for such a task, but I want the script to ...
Nicolas Raoul's user avatar