Innovenergy_trunk/frontend/node_modules/os-family
Kim 085d7c68ba adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
..
.editorconfig adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
LICENSE adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
README.md adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
index.js adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
package.json adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00

README.md

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)