sindresorhus / round-toLinks
Round a number to a specific number of decimal places: 1.234 → 1.2
☆160Updated last month
Alternatives and similar repositories for round-to
Users that are interested in round-to are comparing it to the libraries listed below
Sorting:
- Simplified high resolution timing☆84Updated last year
- Create a hash for file revving☆106Updated 2 years ago
- Write data to a random temporary file☆107Updated last year
- Replace all substring matches in a string☆89Updated 4 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Conditional promise chains☆63Updated 4 years ago
- Ensure a function is only called once☆163Updated 2 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Indent each line in a string☆113Updated 3 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆143Updated 2 months ago
- Check if a URL is absolute☆80Updated 2 months ago
- Measure the time a promise takes to resolve☆71Updated 2 years ago
- Easy error subclassing and stack customization☆66Updated 2 months ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆253Updated 8 years ago
- Truncate a string to a specific width in the terminal☆87Updated 3 weeks ago
- Lazy number range generator☆82Updated last year
- Reliably get the terminal window size☆144Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆82Updated 2 months ago
- Get namespaced config from the closest package.json☆120Updated 2 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆111Updated last year
- Import all modules in a directory☆138Updated 2 years ago
- process.hrtime() to words☆67Updated 5 years ago
- touch(1) for node☆125Updated 3 weeks ago
- Filter object keys and values into a new object☆104Updated last year
- Hook and modify stdout and stderr☆56Updated 2 months ago
- Check if a value is a plain object☆103Updated last year
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated last year
- Check if it's the first time the process is run☆81Updated 2 months ago
- Get a random temporary file path☆80Updated 2 years ago