sindresorhus / round-toLinks
Round a number to a specific number of decimal places: 1.234 → 1.2
☆161Updated 3 months ago
Alternatives and similar repositories for round-to
Users that are interested in round-to are comparing it to the libraries listed below
Sorting:
- Indent each line in a string☆114Updated 3 years ago
- Write data to a random temporary file☆108Updated last year
- Conditional promise chains☆63Updated 4 years ago
- Simplified high resolution timing☆84Updated last year
- Create a hash for file revving☆107Updated 2 years ago
- Replace all substring matches in a string☆90Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Check if a URL is absolute☆80Updated 3 months ago
- Ensure a function is only called once☆164Updated 2 years ago
- touch(1) for node☆125Updated 2 months ago
- Reliably get the terminal window size☆145Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆84Updated 3 months ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆145Updated 3 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- Lazy number range generator☆82Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Filter object keys and values into a new object☆105Updated last year
- Easy error subclassing and stack customization☆66Updated 3 months ago
- Convenience wrapper for Got to interact with the GitHub API☆177Updated last month
- Check when the DOM has loaded like `DOMContentLoaded`☆111Updated last year
- Import all modules in a directory☆139Updated 2 years ago
- Get a random temporary file path☆81Updated 2 years ago
- capitalize a string, or all words in a string☆39Updated 4 years ago
- Strip leading whitespace from each line in a string☆144Updated 2 months ago
- Wordwrap a string with ANSI escape codes☆130Updated 3 months ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- A ridiculously light-weight function argument validator☆132Updated 5 months ago
- Check if a path exists☆155Updated 3 years ago
- Truncate a string to a specific width in the terminal☆88Updated 2 months ago