Ninety-nine Pitchers of Malt
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Keywords

Install

npm i isos

DownloadsWeekly Downloads

10

Version

0.0.3

License

MIT

Last publish

Collaborators

  • avatar
  • avatar