sindresorhus / lazy-value
Create a lazily evaluated value
☆69Updated 4 years ago
Alternatives and similar repositories for lazy-value:
Users that are interested in lazy-value are comparing it to the libraries listed below
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Conditional promise chains☆60Updated 4 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆109Updated 8 months ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Input module for Listr☆33Updated 5 years ago
- Extract the actual stack of an error☆66Updated 2 years ago
- Clean up regular expressions☆62Updated 8 months ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Get the first fulfilled promise that satisfies the provided testing function☆75Updated 2 months ago
- Get PID from a port☆79Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆54Updated 6 months ago
- Break out of a promise chain☆23Updated 4 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Linkify GitHub issue references☆46Updated 6 months ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Get the shortest leading whitespace from lines in a string☆19Updated 4 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year