Programming With Swift
  • Home
  • About
  • Github
Sign in Subscribe

URL

A collection of 1 post
How to validate a URL with Node JS
Node

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 this. This is the snippet(not the final one): const URL = require('url').URL // 1
17 May 2022 2 min read
Page 1 of 1
Programming With Swift © 2025
Powered by Ghost