Skip to main content

extractHostnameAndPort

For the complete documentation index, see llms.txt

Midnight.js API Reference v2.0.2


Midnight.js API Reference / @midnight-ntwrk/midnight-js-testing / extractHostnameAndPort

Function: extractHostnameAndPort()

extractHostnameAndPort(url): string

Parameters​

url​

string

Returns​

string