is-os-cli

0.0.2 • Public • Published

is-os-cli

npm standard

CLI utility to check if operating system. Useful for npm scripts.

Install

npm install -g is-os-cli

Usage

In your npm script, some task that can only be ran on Windows:

{
  "scripts": {
    "build-app": "is-os win32 && build-command-here"
  }
}

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i is-os-cli

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • jprichardson