An open API service indexing awesome lists of open source software.

https://github.com/kessler/isos

test the current OS // isOs('windows'), isOs('linux')
https://github.com/kessler/isos

Last synced: 8 months ago
JSON representation

test the current OS // isOs('windows'), isOs('linux')

Awesome Lists containing this project

README

          

# isos

test the current OS

on mac:
```
var isOs = require('isos')

assert.ok(isOs('mac'))
assert.ok(isOs('darwin'))
assert.ok(isOs('osx'))
```

on windows:
```
var isOs = require('isos')

assert.ok(isOs('linux'))
```

on windows:
```
var isOs = require('isos')

assert.ok(isOs('windows'))
assert.ok(isOs('win32'))
```

etc...