Search results
130 packages found
Redirect users to the canonical hostname for your site.
Extract the TLD from a URL against the [public suffix list](https://publicsuffix.org/).
Convert 'hostname:port' strings to BitTorrent's compact ip/host binary returned by Trackers
Npm (package-lock-json, npm-shrinkwrap.json), Yarn lock and Pnpm lock files treatment tool
A flexible way to look up IP addresses for host names and URLs
这是一个配置hosts文件的脚本,如果你用的macOs 或者 Linux, hosts文件默认在 `/etc/hosts`. window默认在 `C:/Windows/System32/drivers/etc/hosts`.
Create formatted urls from scratch
Get local IP addresses and hostnames
Check whether or not an hostname refer to a private IP
URLReference class
- URL
- URI
- IRI
- URL-reference
- URI-reference
- IRI-reference
- relative URL
- relative reference
- reference resolution
- transform references
- base URL
- opaque path
- opaque host
- RFC3896
- View more
Lookup the fully qualified domain name ("FQDN") of the current server's IP (default) or a custom IP. 90x faster than `hostname -f` and works with Node v6.4+.
Extract the TLD/domain/subdomain parts of an URL/hostname against mozilla TLDs 'official' listing .
Check assets hostname
Cross platform version of os.hostname() that returns the full computer name (including the primary DNS prefix) on Windows so you can write code that relies on the hostname (e.g., automatic TLS certificate provisioning) that will also work on Windows.
Check if the hostname of an email has a MX or A record
Dispatch HTTP request to a handler depending on hostname
Platform aware tool to get the current hostname using environment variables and falls back to the system command hostname.
Get domain or hostname from url
Extracts parts of the url.
Get a proper hostname off of a request object