New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

os-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

os-cli

Show OS Information

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

OS Cli

Show OS version in command line.

Tired of rememberring kinds of commands of showing name and version of different Operating Systems? Try this simple one.

Install Globally

[sudo] npm install -g os-cli

Use it in command line:

os

This will show your system basic information

Mac OS X 10.9.2 (Darwin 13.1.0)

or

CentOS 5.10 (Linux 3.9.3-x86-linode52)

or

Ubuntu 12.04 (Linux 3.2.0-23-generic)

or

Microsoft Windows 7 Ultimate Service Pack 1 (Windows_NT 6.1.7601)

Install Locally

Use it in your project:

npm install --save os-cli

Sample code:

var os = require('os-cli');

os(function(error, info) {
  console.log(info);
});

Keywords

os

FAQs

Package last updated on 18 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts