JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 119859
  • Score
    100M100P100Q191831F
  • License MIT

Determines if a platform is UNIX-like.

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

Last version Coverage Status NPM Status

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