Skip to content
holepunchtoPublic

About

Operating system utilities for Bare

Resources

Stars

8 stars

Watchers

17 watching

Forks

Repository files navigation

bare-os

Operating system utilities for Bare. The API closely follows that of the Node.js os module.

npm i bare-os

Usage

const os = require('bare-os')

console.log(os.platform()) // 'darwin', 'linux', 'win32', ...
console.log(os.arch()) // 'arm64', 'x64', ...
console.log(os.homedir())
console.log(os.tmpdir())
console.log(os.hostname())
console.log(os.networkInterfaces())

API

See the bare-os reference.

License

Apache-2.0

About

Operating system utilities for Bare

Resources

Stars

8 stars

Watchers

17 watching

Forks

Releases

Used by

Contributors

Languages