sindresorhus / time-span
Simplified high resolution timing
☆81Updated 7 months ago
Alternatives and similar repositories for time-span:
Users that are interested in time-span are comparing it to the libraries listed below
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Truncate a URL to a specific length☆61Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Conditional promise chains☆60Updated 4 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 2 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Get the revved file path of a file☆33Updated 3 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆109Updated 8 months ago
- Rename a function☆46Updated last year
- Returns a promise resolved in the next event loop - think `setImmediate()`☆70Updated 4 years ago
- Clear the terminal cross-platform☆44Updated 3 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Clean up regular expressions☆62Updated 8 months ago
- Extract the actual stack of an error☆66Updated 2 years ago
- Convert bytes to a human readable string: 1337 → 1.34 kB☆68Updated 2 years ago
- Bind all methods in an object to itself or a specified context☆57Updated 4 years ago
- Resolve the path of a package regardless of it having an entry point☆54Updated 2 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Filter object keys and values into a new object☆101Updated 11 months ago
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Measure the time a promise takes to resolve☆70Updated last year