Skip to content

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

License

Notifications You must be signed in to change notification settings

jprichardson/is-os-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published