jonschlinkert / is-windows
Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)
☆48Updated 5 years ago
Alternatives and similar repositories for is-windows:
Users that are interested in is-windows are comparing it to the libraries listed below
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Get the path of the caller module☆64Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Tests whether one path is inside another path☆41Updated 5 years ago
- Import a globally installed module☆57Updated last year
- Check if something is a promise☆46Updated 3 years ago
- Get the auth token set for an npm registry☆35Updated last month
- 🔇 mock stdio output for tests☆23Updated 6 years ago
- Make a shallow clone of an object, array or primitive.☆29Updated 4 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 years ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 2 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 8 months ago
- Check if a Buffer/Uint8Array is a GIF image☆28Updated 2 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Break out of a promise chain☆23Updated 3 years ago
- Runtime vendor prefixing based on feature detection.☆68Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Timeout HTTP/HTTPS requests☆51Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Lazy number range generator☆81Updated last year