sindresorhus / round-to
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
- Ensures a value is a valid error by making it one if not☆77Updated 2 years ago
- Simplified high resolution timing☆79Updated 6 months ago
- Write data to a random temporary file☆105Updated 7 months ago
- Easy error subclassing and stack customization☆66Updated 4 years ago
- Reliably get the terminal window size☆141Updated last year
- touch(1) for node☆122Updated 8 months ago
- Lazy number range generator☆81Updated last year
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Check if a path exists☆150Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Check if a URL is absolute☆79Updated 3 years ago
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Define a lazily evaluated property on an object☆64Updated last year
- Generate a random integer☆87Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Indent each line in a string☆113Updated 2 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Replace all substring matches in a string☆88Updated 3 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Get a random temporary file path☆79Updated 2 years ago
- Generate random numbers that are consecutively unique☆116Updated 11 months ago
- Start a promise chain☆58Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Check when the DOM has loaded like `DOMContentLoaded`☆109Updated 6 months ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Check whether a package or organization name is available on npm☆169Updated last year
- Wrapper for the Windows `tasklist` command. Returns a list of apps and services with their Process ID (PID) for all tasks running on eith…☆67Updated 3 years ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆253Updated 7 years ago
- Check if it's the first time the process is run☆78Updated 3 years ago