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:
- Indent each line in a string☆113Updated 3 years ago
- Write data to a random temporary file☆107Updated last year
- Check if a URL is absolute☆80Updated last month
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆142Updated last month
- Replace all substring matches in a string☆89Updated 4 years ago
- Create a hash for file revving☆106Updated last year
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Conditional promise chains☆63Updated 4 years ago
- Simplified high resolution timing☆84Updated last year
- Get namespaced config from the closest package.json☆120Updated last year
- Reliably get the terminal window size☆144Updated last year
- Exit the process when the `esc` key is pressed☆57Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last month
- Ensure a function is only called once☆163Updated last year
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- touch(1) for node☆124Updated this week
- Filter object keys and values into a new object☆104Updated last year
- Lazy number range generator☆82Updated last year
- Easy error subclassing and stack customization☆66Updated last month
- capitalize a string, or all words in a string☆39Updated 4 years ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆253Updated 8 years ago
- A ridiculously light-weight function argument validator☆132Updated 3 months ago
- Check if a path exists☆153Updated 3 years ago
- Check if argv has a specific flag☆94Updated 4 years ago
- Check if it's the first time the process is run☆81Updated last month
- Import a globally installed module☆57Updated last year
- Locate a program or locally installed node module's executable☆78Updated 9 years ago
- Wordwrap a string with ANSI escape codes☆129Updated last month