Package Exports
- is-unix
- is-unix/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-unix) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-unix
Determines if a platform is UNIX-like.
Install
$ npm install is-unix --saveUsage
const isUnix = require('is-unix')
isUnix('win32') // => false
isUnix('darwin') // => true
isUnix('linux') // => true
isUnix('freebsd') // => true
isUnix('sunos') // => trueAPI
isUnix(platform)
platform
Type: string
License
MIT © Kiko Beats