is-unix
v2.0.10
Published
Determines if a platform is UNIX-like.
Downloads
77,330
Readme
is-unix
Determines if a platform is UNIX-like.
Install
$ npm install is-unix --save
Usage
const isUnix = require('is-unix')
isUnix('win32') // => false
isUnix('darwin') // => true
isUnix('linux') // => true
isUnix('freebsd') // => true
isUnix('sunos') // => true
API
isUnix(platform)
platform
Type: string
License
MIT © Kiko Beats