Node Custom Formatter - extract domain from URL

This simple Node Server Connect formatter extracts the domain name form a URL.

install as per

Restart Wappler fully

You will not see a new formatter available

this formatter will extract the domain name form a full URL i.e.

https://www.mydomain.com/route/param

would return

mydomain.com
5 Likes