1.1.0 • Published 5 years ago

os-family v1.1.0

Weekly downloads
229,044
License
MIT
Repository
github
Last release
5 years ago

os-family

Guess what? It gives you OS family. Whoa!

var osFamily = require('os-family');

var isWindows = osFamily.win;
var isLinux = osFamily.linux;
var isMacOS = osFamily.mac;

Install

npm install os-family

Author

Ivan Nikulin (ifaaan@gmail.com)