jonschlinkert / is-windowsLinks
Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)
☆48Updated 6 years ago
Alternatives and similar repositories for is-windows
Users that are interested in is-windows are comparing it to the libraries listed below
Sorting:
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Reduce a list of values using promises into a promise for a value☆72Updated 2 years ago
- Check if something is a promise☆46Updated 4 years ago
- Get the path of the caller module☆66Updated 4 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Check if your code is running as an npm or yarn script☆64Updated last month
- Get the path of the parent module☆78Updated last month
- Tests whether one path is inside another path☆42Updated 5 years ago
- Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.☆23Updated 4 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Generate a regex from a string or array of strings.☆60Updated 4 years ago
- Make a shallow clone of an object, array or primitive.☆29Updated last month
- Get the auth token set for an npm registry☆34Updated 2 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 2 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated last month
- (object pick) returns a filtered copy of an object with only the specified keys, exactly like `pick` from lo-dash / underscore.☆41Updated 4 years ago
- Conditional promise chains☆63Updated 4 years ago
- Parse HTTP X-Forwarded-For header☆58Updated last month
- Check if a URL is absolute☆80Updated last month
- Modern Buffer API polyfill without footguns☆26Updated 4 years ago
- Create a Vinyl file from an actual file☆42Updated 2 years ago
- Timeout HTTP/HTTPS requests☆51Updated last month
- Find the closest babel config based on a directory☆13Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago