sindresorhus / node-defaultsLinks
Easily handle defaults for your options
☆75Updated last year
Alternatives and similar repositories for node-defaults
Users that are interested in node-defaults are comparing it to the libraries listed below
Sorting:
- Check if a path is a file, directory, or symlink☆78Updated last year
- Wordwrap a string with ANSI escape codes☆128Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 6 months ago
- when you want to fire an event no matter how a process exits.☆193Updated last year
- Filter object keys and values into a new object☆104Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆123Updated 6 months ago
- Start a promise chain☆58Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years 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`☆81Updated 3 years ago
- Convert a value to an array☆129Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 10 months ago
- Check if the process is running with elevated privileges☆41Updated 4 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- Toggle the CLI cursor☆111Updated last year
- Check if something is a Node.js stream☆112Updated 10 months ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Filter promises concurrently☆76Updated last year
- Brace expansion, as known from sh/bash, in JavaScript☆195Updated 2 months ago
- Get a random temporary file path☆80Updated 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…☆95Updated 2 years ago
- Truncate a string to a specific width in the terminal☆87Updated last week
- Write a package.json file☆88Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago