sindresorhus / round-toLinks
Round a number to a specific number of decimal places: 1.234 → 1.2
☆156Updated 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:
- Simplified high resolution timing☆81Updated 9 months ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Write data to a random temporary file☆105Updated 11 months ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Conditional promise chains☆61Updated 4 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Compose promise-returning & async functions into a reusable pipeline☆123Updated 4 years ago
- Start a promise chain☆58Updated 3 years ago
- Indent each line in a string☆113Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Check if a URL is absolute☆79Updated 3 years ago
- Lazy number range generator☆81Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Displays the execution time for Node.js modules loading by hooking require() calls☆253Updated 8 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Reliably get the terminal window size☆141Updated last year
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Check if something is a Node.js stream☆112Updated 7 months ago
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated 10 months ago
- Create a hash for file revving☆105Updated last year
- Generate a random integer☆86Updated 4 years ago
- Iterate over promises serially☆50Updated 2 years ago
- Filter object keys and values into a new object☆101Updated last year
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Ensure a function is only called once☆162Updated last year
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated 10 months ago
- Sanity check which files you are and aren't about to publish to npm☆85Updated 3 years ago