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:
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆47Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Tests whether one path is inside another path☆42Updated 5 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Conditional promise chains☆61Updated 4 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 years ago
- (object pick) returns a filtered copy of an object with only the specified keys, exactly like `pick` from lo-dash / underscore.☆41Updated 3 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Get the auth token set for an npm registry☆34Updated 5 months ago
- Get the path of the parent module☆77Updated last year
- Check if something is a promise☆46Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if a value is a plain object☆102Updated last year
- Make a shallow clone of an object, array or primitive.☆29Updated 5 years ago
- Strip the final newline character from a string/buffer☆36Updated 8 months ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated 11 months ago
- Extend the properties from any number of objects onto the first object. Pass an empty object as the first arg to create a new object.☆14Updated 7 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
- A stricter URI encode adhering to RFC 3986☆59Updated 5 years ago
- List of JavaScript types☆82Updated last year
- 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
- Check if argv has a specific flag☆95Updated 3 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆63Updated 3 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- btoa and atob support for node.js or old browsers, with the Unicode Problems fixed☆21Updated 5 years ago