Innovenergy_trunk/frontend/node_modules/os-family/README.md

309 B

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)