@lobsangnet/lobsang-processor-hostname
Parses the hostname from an URL.
Badges
See lobsang.network for details.
Usage
const lobsangProcessorHostname = require('@lobsangnet/lobsang-processor-hostname')
const url = 'https://example.com'
lobsangProcessorHostname(url)
.then((hostname) => console.log(hostname))
License
Apache License. See LICENSE.txt.