sindresorhus / node-defaults
Easily handle defaults for your options
☆73Updated 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 path is a file, directory, or symlink☆78Updated 6 months ago
- 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☆58Updated 9 months ago
- Check if the process is running with elevated privileges☆40Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 8 months ago
- Command line tool for creating or updating a .npmignore file based on .gitignore.☆29Updated 11 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Write a package.json file☆89Updated 6 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get the real path of the system temp directory☆83Updated 2 years ago
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Indent each line in a string☆114Updated 2 years ago
- Check if something is a Node.js stream☆110Updated 3 months ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 3 months 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…☆91Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Import a globally installed module☆57Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 2 years ago
- Reliably get the terminal window size☆140Updated last year
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Find the closest package.json file☆162Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆58Updated 4 months ago