jonschlinkert / is-windows
Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)
☆49Updated 5 years ago
Related projects: ⓘ
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Check if something is a promise☆46Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated 10 months ago
- Import a globally installed module☆57Updated 8 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 5 years ago
- Get the path of the caller module☆64Updated 2 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆45Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 5 years ago
- Node.js releases data☆35Updated this week
- Reduce a list of values using promises into a promise for a value☆67Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆54Updated last month
- Make a function mimic another one☆91Updated 4 months ago
- Make a shallow clone of an object, array or primitive.☆29Updated 4 years ago
- Strip the final newline character from a string/buffer☆33Updated 4 months ago
- Tests whether one path is inside another path☆41Updated 4 years ago
- Lazy number range generator☆82Updated 8 months ago
- Run prettier formatter with rollup☆61Updated this week
- Extract the actual stack of an error☆67Updated 2 years ago
- Hyphenates a camelcased CSS property name☆35Updated 3 months ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Get the path of the parent module☆77Updated 10 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆67Updated 3 years ago
- Conditional promise chains☆59Updated 3 years ago
- Get the set npm registry URL☆53Updated 2 years ago
- Check if a value is a plain object☆101Updated 4 months ago
- Rename a function☆45Updated 10 months ago
- Check if your package was installed globally☆70Updated 10 months ago
- Keeps track of a server's open sockets so they can be destroyed at a moment's notice.☆27Updated 6 years ago
- Check if argv has a specific flag☆90Updated 3 years ago