We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e11971 commit 0c063a1Copy full SHA for 0c063a1
doc/api/url.md
@@ -942,6 +942,9 @@ invalid domain, the empty string is returned.
942
943
It performs the inverse operation to [`url.domainToUnicode()`][].
944
945
+This feature is only available if the `node` executable was compiled with
946
+[ICU][] enabled. If not, the domain names are passed through unchanged.
947
+
948
```mjs
949
import url from 'url';
950
@@ -979,6 +982,9 @@ domain, the empty string is returned.
979
982
980
983
It performs the inverse operation to [`url.domainToASCII()`][].
981
984
985
986
987
988
989
990
0 commit comments