const host = function()
in
mkdocs.js [8:10]
3
lines of code
1
McCabe index (conditional complexity)
const host = function (url) { return URL.parse(url).host.replace(/^www\./, '') }