21 lines
309 B
Markdown
21 lines
309 B
Markdown
|
# os-family
|
||
|
|
||
|
Guess what? It gives you OS family. Whoa!
|
||
|
|
||
|
```js
|
||
|
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](https://github.com/inikulin) (ifaaan@gmail.com)
|
||
|
|