
How to validate a URL with Node JS
Recently I needed to validate http links with Node. I thought this should be easy, and it is. Luckily for us, Node has a built in URL module that can help us to
A collection of 87 posts
Recently I needed to validate http links with Node. I thought this should be easy, and it is. Luckily for us, Node has a built in URL module that can help us to
In this tutorial we will look at how we can read a file line by line using Go. Go makes this incredibly easy by using bufio.NewScanner(). You can find the full source
Getting a list of all files in a directory and its subdirectories can be quite a common task, so, in this tutorial I will show you how you can do this with 4
In this tutorial we will learn how to compare dates with TypeScript or JavaScript. Working with dates can be a painful experience but comparing them is not too bad as it works the
In this tutorial I will show you how you can pretty print a JSON string. It is a one liner, but it makes all the difference. Normally when we use JSON.stringify, we
In this tutorial we will go over how read and write a JSON file with NodeJS. It should come at no surprise that Node makes working with JSON extremely easy, and with the