@small-tech/cross-platform-hostname
Version:
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.
32 lines (31 loc) • 873 B
JSON
{
"name": "@small-tech/cross-platform-hostname",
"version": "1.0.0",
"description": "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.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git@source.ind.ie:site.js/lib/cross-platform-hostname.git"
},
"keywords": [
"hostname",
"cross-platform",
"windows",
"full",
"computer",
"name",
"primary",
"DNS",
"prefix",
"os.hostname"
],
"author": {
"name": "Aral Balkan",
"email": "aral@small-tech.org",
"url": "https://ar.al"
},
"license": "AGPL-3.0-or-later"
}