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:
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Replace all substring matches in a string☆88Updated 4 years ago
- Create a hash for file revving☆105Updated last year
- Conditional promise chains☆61Updated 4 years ago
- Ensure a function is only called once☆162Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Indent each line in a string☆113Updated 3 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Write data to a random temporary file☆105Updated last year
- Import all modules in a directory☆137Updated 2 years ago
- Simplified high resolution timing☆82Updated 11 months ago
- Get namespaced config from the closest package.json☆120Updated last year
- Reliably get the terminal window size☆143Updated last year
- Check if a URL is absolute☆79Updated 4 years ago
- Convenience wrapper for Got to interact with the GitHub API☆176Updated 2 years ago
- Filter object keys and values into a new object☆103Updated last year
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Extract the actual stack of an error☆66Updated 3 years ago
- Lazy number range generator☆81Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Easy error subclassing and stack customization☆65Updated 5 years ago
- Check if it's the first time the process is run☆78Updated 3 years ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated last year
- touch(1) for node☆124Updated last year
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆53Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- A ridiculously light-weight function argument validator☆133Updated last month
- Copy a file☆121Updated 2 weeks ago