sindresorhus / node-defaultsLinks
Easily handle defaults for your options
☆76Updated 2 years ago
Alternatives and similar repositories for node-defaults
Users that are interested in node-defaults are comparing it to the libraries listed below
Sorting:
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- Ponyfill for Error#captureStackTrace☆63Updated 3 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆125Updated 3 months ago
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 10 months ago
- Check if your package was installed globally☆71Updated 2 years ago
- Check if the process is running with elevated privileges☆43Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Create a MD5 hash with hex encoding☆47Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Indent each line in a string☆115Updated 3 years ago
- Start a promise chain☆60Updated 3 months ago
- Check if a value is a plain object☆103Updated last year
- Toggle the CLI cursor☆113Updated last year
- when you want to fire an event no matter how a process exits.☆196Updated 2 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 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 3 years ago
- Check if something is a Node.js stream☆115Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Regular expression for matching reserved filename characters☆52Updated 3 months ago
- Find the closest package.json file☆166Updated 7 months ago
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Reliably get the terminal window size☆146Updated 2 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Convert a value to an array☆133Updated 4 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 3 years ago
- Truncate a string to a specific width in the terminal☆88Updated 2 months ago