3.1.1 • Published 17 days ago

node-uname v3.1.1

Weekly downloads
128
License
MIT
Repository
github
Last release
17 days ago

node-uname

Build Status npm

A wrapper around the uname call.
Works on GNU/Linux and MacOS.

Installation

npm install node-uname

Example

import { uname } from 'node-uname'

console.log(uname())

// Utsname {
//   sysname: 'Darwin',
//   nodename: 'MacBook.local',
//   release: '15.0.0',
//   version: 'Darwin Kernel Version ...',
//   machine: 'x86_64' }

uname()

The uname() function returns an object containing sysname, nodename, release, version and machine.

If the internal call to the kernel's uname function fails an Error is thrown.

3.1.1

17 days ago

3.1.0

5 months ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.0

6 years ago

1.0.1

8 years ago

1.0.0

8 years ago