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 11 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 4 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Wordwrap a string with ANSI escape codes☆126Updated last year
- Toggle the CLI cursor☆110Updated 11 months ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Filter object keys and values into a new object☆102Updated last year
- Get your PATH prepended with locally installed binaries☆105Updated 8 months ago
- A static list of the Node.js builtin modules from the latest Node.js version☆122Updated 4 months ago
- Check if a value is a plain object☆102Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Convert a value to an array☆129Updated 3 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…☆94Updated 2 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Check if something is a Node.js stream☆112Updated 8 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- when you want to fire an event no matter how a process exits.☆192Updated last year
- Write a package.json file☆88Updated 11 months ago
- Regular expression for matching reserved filename characters☆50Updated 3 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Detect the indentation of code☆196Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year