UNPKG

get-os-info

Version:

This library allows you to get a correct OS name and version

3 lines (2 loc) 119 B
import { OSInfo } from '../index'; export default function getWindowsInfo(release?: string): Promise<OSInfo | null>;