sys-lookup
v0.0.1
Published
Lookup Your system description
Downloads
201
Readme
Sys-Lookup
This is a JavaScript and TypeScript package that displays the system's OS name and version. It has been verified on Linux (Debian-based systems) and Windows at this time.
Ubuntu Example
{
PRETTY_NAME: "Ubuntu 25.10",
NAME: "Ubuntu",
VERSION_ID: "25.10",
VERSION: "25.10 (Questing Quokka)",
VERSION_CODENAME: "questing",
ID: "ubuntu",
ID_LIKE: "debian",
HOME_URL: "https://www.ubuntu.com/",
SUPPORT_URL: "https://help.ubuntu.com/",
BUG_REPORT_URL: "https://bugs.launchpad.net/ubuntu/",
PRIVACY_POLICY_URL: "https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
}Windows Example
{
BuildLab: "26100.ge_release.240331-1435",
CompositionEditionID: "ServerStandard",
CurrentBuild: "26100",
DisplayVersion: "24H2",
EditionID: "ServerStandard",
InstallationType: "Server",
ProductName: "Windows Server 2025 Standard",
ReleaseId: "2009",
RegisteredOwner: "<email-address>"
}