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:
- Wordwrap a string with ANSI escape codes☆130Updated 2 months ago
- 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
- Ponyfill for Error#captureStackTrace☆62Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 9 months ago
- Filter object keys and values into a new object☆105Updated 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
- A static list of the Node.js builtin modules from the latest Node.js version☆124Updated 2 months ago
- Check if the process is running with elevated privileges☆42Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆61Updated 2 months ago
- Check if a value is a plain object☆103Updated last year
- Indent each line in a string☆114Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆105Updated last year
- Start a promise chain☆60Updated 2 months ago
- when you want to fire an event no matter how a process exits.☆195Updated last month
- Convert a value to an array☆132Updated 4 years ago
- Regular expression for matching reserved filename characters☆52Updated 2 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 3 years ago
- Find the closest package.json file☆166Updated 5 months ago
- Check if something is a Node.js stream☆115Updated last year
- Get the latest version of an npm package☆175Updated last year
- Strip leading whitespace from each line in a string☆144Updated last month
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Get the path of the parent module☆79Updated 2 months ago
- Get a random temporary file path☆81Updated 2 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Updated 2 months ago
- Toggle the CLI cursor☆113Updated last year