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:
- Wordwrap a string with ANSI escape codes☆126Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Check if a path is a file, directory, or symlink☆78Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆122Updated 5 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Indent each line in a string☆113Updated 3 years ago
- Start a promise chain☆58Updated 3 years ago
- Check if something is a Node.js stream☆112Updated 9 months ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- when you want to fire an event no matter how a process exits.☆193Updated last year
- Check if argv has a specific flag☆95Updated 4 years ago
- Convert a value to an array☆129Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 9 months ago
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Filter object keys and values into a new object☆103Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Toggle the CLI cursor☆110Updated last year
- Write a package.json file☆88Updated last year
- Create a MD5 hash with hex encoding☆45Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Slice a string with ANSI escape codes☆49Updated last year
- 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
- Brace expansion, as known from sh/bash, in JavaScript☆195Updated last month
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 3 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 years ago