sindresorhus / node-defaults
Easily handle defaults for your options
☆74Updated 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 string matches the name of a Node.js builtin module☆59Updated last month
- Check if a path is a file, directory, or symlink☆78Updated 8 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 10 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Reliably get the terminal window size☆141Updated last year
- Check if your package was installed globally☆70Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Start a promise chain☆58Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get a random temporary file path☆79Updated 2 years ago
- Toggle the CLI cursor☆107Updated 8 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a file path is a binary file☆44Updated 11 months ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Make a function mimic another one☆94Updated 5 months ago
- Write a package.json file☆88Updated 8 months ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆62Updated this week
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 5 months ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- when you want to fire an event no matter how a process exits.☆191Updated last year
- Get the real path of the system temp directory☆83Updated 2 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Import a globally installed module☆58Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Check if something is a Node.js stream☆110Updated 5 months ago
- Lazy number range generator☆81Updated last year