sindresorhus / lazy-valueLinks
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
Sorting:
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Define a lazily evaluated property on an object☆67Updated 2 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Updated last year
- Conditional promise chains☆63Updated 4 years ago
- Lazy number range generator☆83Updated 2 years ago
- A better `Promise.race()`☆51Updated 3 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆111Updated last year
- Run promise-returning & async functions repeatedly until you end it☆48Updated this week
- Run promise-returning & async functions a specific number of times concurrently☆41Updated 4 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Updated 11 months ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆85Updated 4 months ago
- Check if something is a promise☆45Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Indent each line in a string☆115Updated 3 years ago
- Returns a promise resolved in the next event loop - think `setImmediate()`☆72Updated 4 years ago
- Get the path of the parent module☆79Updated 4 months ago
- Extract the actual stack of an error☆68Updated 3 years ago
- Truncate a URL to a specific length☆62Updated 4 months ago
- Get the path of the caller module☆67Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆37Updated 2 years ago
- Clean up regular expressions☆63Updated last year
- Rename a function☆46Updated 2 years ago
- Get PID from a port☆79Updated 5 years ago
- Import a module like with `require()` but from a given path☆86Updated 3 years ago