npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

is-os-cli

0.0.2

@jprichardson

npmHomeRepoSnykSocket
Downloads:0
$ npm install is-os-cli
DailyWeeklyMonthlyYearly

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