sindresorhus / node-defaultsLinks
Easily handle defaults for your options
☆76Updated 2 years ago
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☆56Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Wordwrap a string with ANSI escape codes☆130Updated 3 months ago
- A static list of the Node.js builtin modules from the latest Node.js version☆125Updated 3 months ago
- Filter object keys and values into a new object☆105Updated last year
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Ponyfill for Error#captureStackTrace☆62Updated 3 years ago
- Indent each line in a string☆114Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Check if your package was installed globally☆70Updated 2 years ago
- Convert a value to an array☆133Updated 4 years ago
- Check if the process is running with elevated privileges☆43Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Check if a value is a plain object☆103Updated last year
- Toggle the CLI cursor☆113Updated last year
- Start a promise chain☆60Updated 3 months ago
- Detect the indentation of code☆200Updated 3 months ago
- Get the real path of the system temp directory☆84Updated 3 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Write a package.json file☆89Updated 3 months ago
- Check if something is a Node.js stream☆115Updated last year
- Create a MD5 hash with hex encoding☆47Updated 2 years ago
- Regular expression for matching reserved filename characters☆52Updated 3 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 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…☆95Updated 2 years ago
- normalizes package metadata, typically found in package.json file.☆203Updated this week
- when you want to fire an event no matter how a process exits.☆196Updated last month
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Updated 3 months ago
- Make a function mimic another one☆97Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago