isos

0.0.3 • Public • Published

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...

Readme

Keywords

Package Sidebar

Install

npm i isos

Weekly Downloads

31

Version

0.0.3

License

MIT

Last publish

Collaborators

  • yaniv
  • kessler