sindresorhus / node-defaults
Easily handle defaults for your options
☆73Updated last year
Alternatives and similar repositories for node-defaults:
Users that are interested in node-defaults are comparing it to the libraries listed below
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 weeks ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Write a package.json file☆88Updated 7 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Check if a value is a plain object☆102Updated 10 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a file path is a binary file☆44Updated 10 months ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Indent each line in a string☆113Updated 2 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆121Updated 3 weeks ago
- Check if your package was installed globally☆70Updated last year
- Check if something is a Node.js stream☆110Updated 4 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Start a promise chain☆58Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆61Updated 5 months ago
- ☆37Updated last year
- Object.keys shim☆45Updated 2 years ago
- Command line tool for creating or updating a .npmignore file based on .gitignore.☆29Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 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…☆92Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago