
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
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.
[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)
Use it in your project:
npm install --save os-cli
Sample code:
var os = require('os-cli');
os(function(error, info) {
console.log(info);
});
FAQs
Show OS Information
We found that os-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.