UNPKG

@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.

15 lines (8 loc) 326 B
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] Nothing yet. ## [1.0.0] - 2019-09-29 Initial release.