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:
- Detect the dominant newline character of a string☆55Updated last year
- Check if a path is a file, directory, or symlink☆78Updated last year
- Wordwrap a string with ANSI escape codes☆127Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- A static list of the Node.js builtin modules from the latest Node.js version☆123Updated 5 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…☆95Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Check if the process is running with elevated privileges☆41Updated 4 years ago
- Toggle the CLI cursor☆111Updated last year
- Filter object keys and values into a new object☆103Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Get your PATH prepended with locally installed binaries☆105Updated 9 months ago
- Start a promise chain☆58Updated 3 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Regular expression for matching reserved filename characters☆50Updated 3 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Write a package.json file☆88Updated last year
- Check if something is a Node.js stream☆112Updated 9 months ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Import a globally installed module☆58Updated last year
- Brace expansion, as known from sh/bash, in JavaScript☆194Updated 2 months ago