sindresorhus / round-toLinks
Round a number to a specific number of decimal places: 1.234 → 1.2
☆156Updated last year
Alternatives and similar repositories for round-to
Users that are interested in round-to are comparing it to the libraries listed below
Sorting:
- Write data to a random temporary file☆105Updated 11 months ago
- Reliably get the terminal window size☆142Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Ensure a function is only called once☆162Updated last year
- Replace all substring matches in a string☆88Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Simplified high resolution timing☆81Updated 10 months ago
- Find multiple RegExp matches in a string☆92Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- touch(1) for node☆124Updated last year
- Lazy number range generator☆81Updated last year
- Import all modules in a directory☆138Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Conditional promise chains☆61Updated 4 years ago
- capitalize a string, or all words in a string☆39Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 3 years ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆253Updated 8 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- Check if it's the first time the process is run☆78Updated 3 years ago
- Convenience wrapper for Got to interact with the GitHub API☆176Updated 2 years ago
- A ridiculously light-weight function argument validator☆133Updated this week
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated 10 months ago
- Extract the actual stack of an error☆66Updated 3 years ago
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Check if a path exists☆151Updated 3 years ago