0.1.0 • Published 7 years ago
@dogmalang/os v0.1.0
@dogmalang/os
Lib for getting OS info.
Engineered in Valencia, Spain, EU by Justo Labs.
Use
const os = require("@dogmalang/os");os.platform()
It returns the platform as, for example, linux:
function platform() : stringos.release()
It returns the release data (id, version and platform):
function release() : objectExample:
> os.release()
{ platform: 'linux', id: 'ubuntu', version: '18.04' }
>0.1.0
7 years ago