Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

stackos

stackacademytv621MIT1.1.0

Simple OS info - Demo module

os, demo, yarn course

readme

StackOS

Simple OS info.

*Demo module for Stackacademy.tv Yarn Course.

Install:

yarn add stackos

Get system info object:

stackos.info

Log basic system info to console:

stackos.log()

Example:

// Require
const stackos = require('stackos')

// Get system info object
console.log( stackos.info )

// Log basic system info
stackos.log()