sindresorhus / round-toLinks
Round a number to a specific number of decimal places: 1.234 → 1.2
☆156Updated 2 years 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☆105Updated last year
- Reliably get the terminal window size☆142Updated last year
- Simplified high resolution timing☆81Updated 10 months ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Indent each line in a string☆113Updated 3 years ago
- Create a hash for file revving☆105Updated last year
- Ensure a function is only called once☆162Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Lazy number range generator☆81Updated last year
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Conditional promise chains☆61Updated 4 years ago
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Locate a program or locally installed node module's executable☆78Updated 8 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Check if a path exists☆150Updated 3 years ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆253Updated 8 years ago
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆53Updated 3 years ago
- Sanity check which files you are and aren't about to publish to npm☆83Updated 3 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Extract the actual stack of an error☆66Updated 3 years ago
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated 11 months ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Easy error subclassing and stack customization☆65Updated 5 years ago
- Parse yes/no like values☆270Updated 3 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 3 years ago
- Get a random temporary file path☆80Updated 2 years ago