sindresorhus / round-toLinks
Round a number to a specific number of decimal places: 1.234 → 1.2
☆161Updated 2 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:
- Write data to a random temporary file☆108Updated last year
- Ensure a function is only called once☆164Updated 2 years ago
- Replace all substring matches in a string☆90Updated 4 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆186Updated 2 years ago
- Reliably get the terminal window size☆145Updated 2 years ago
- Check if a URL is absolute☆80Updated 2 months ago
- Indent each line in a string☆114Updated 3 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Conditional promise chains☆63Updated 4 years ago
- Create a hash for file revving☆107Updated 2 years ago
- Simplified high resolution timing☆84Updated last year
- Extract the actual stack of an error☆68Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆84Updated 2 months ago
- Easy error subclassing and stack customization☆66Updated 2 months ago
- Filter object keys and values into a new object☆105Updated last year
- Define a lazily evaluated property on an object☆67Updated 2 years ago
- Convenience wrapper for Got to interact with the GitHub API☆177Updated last month
- Get a random temporary file path☆81Updated 2 years ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated last year
- Rename a function☆47Updated 2 years ago
- Import all modules in a directory☆139Updated 2 years ago
- Copy a file☆122Updated 3 months ago
- Measure the time a promise takes to resolve☆72Updated 2 years ago
- Lazy number range generator☆82Updated last year
- Check when the DOM has loaded like `DOMContentLoaded`☆111Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Updated 3 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Truncate a string to a specific width in the terminal☆88Updated last month