sindresorhus / round-toLinks
Round a number to a specific number of decimal places: 1.234 → 1.2
☆155Updated 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:
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- touch(1) for node☆124Updated 11 months ago
- Simplified high resolution timing☆81Updated 8 months ago
- Reliably get the terminal window size☆141Updated last year
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated 9 months ago
- Write data to a random temporary file☆105Updated 10 months ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Easy error subclassing and stack customization☆65Updated 4 years ago
- Indent each line in a string☆113Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Generate a random integer☆86Updated 4 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆254Updated 7 years ago
- Start a promise chain☆58Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Check if something is a Node.js stream☆112Updated 7 months ago
- Filter object keys and values into a new object☆101Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Conditional promise chains☆61Updated 4 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated 2 years ago
- Check if a path exists☆151Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆125Updated last year
- Get a random temporary file path☆80Updated 2 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Run locally-installed node module executables.☆187Updated 6 years ago
- Find the closest package.json file☆164Updated last year
- Like findup-sync, but 2-4x faster and supports XDG-style `.config/` directories.☆41Updated 5 years ago
- Check if a URL is absolute☆79Updated 3 years ago