sindresorhus / node-defaultsLinks
Easily handle defaults for your options
☆74Updated 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 10 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 months ago
- Filter object keys and values into a new object☆101Updated last year
- when you want to fire an event no matter how a process exits.☆190Updated last year
- Wordwrap a string with ANSI escape codes☆125Updated last year
- Check if your package was installed globally☆70Updated last year
- Check if a file path is a binary file☆45Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Reliably get the terminal window size☆141Updated last year
- Write a package.json file☆88Updated 10 months ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 7 months ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Toggle the CLI cursor☆108Updated 10 months ago
- Start a promise chain☆58Updated 3 years ago
- Check if something is a Node.js stream☆112Updated 7 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Indent each line in a string☆113Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Get a random temporary file path☆80Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆38Updated 10 months ago
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago