sindresorhus / node-defaultsLinks
Easily handle defaults for your options
☆75Updated 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☆129Updated last month
- Check if a path is a file, directory, or symlink☆79Updated last year
- Detect the dominant newline character of a string☆56Updated 2 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆124Updated last month
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 3 years ago
- Start a promise chain☆60Updated last month
- when you want to fire an event no matter how a process exits.☆193Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 11 months ago
- Write a package.json file☆89Updated last month
- Toggle the CLI cursor☆112Updated last year
- Check if something is a Node.js stream☆113Updated 11 months ago
- Indent each line in a string☆113Updated 3 years ago
- Filter object keys and values into a new object☆104Updated last year
- Check if your package was installed globally☆69Updated last year
- Check if the process is running with elevated privileges☆42Updated 4 years ago
- Check if a value is a plain object☆103Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Copy a file☆121Updated 2 months ago
- Convert a value to an array☆131Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- 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
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆95Updated 3 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Make a function mimic another one☆96Updated 11 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Get the latest version of an npm package☆175Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last month