sindresorhus / round-toLinks
Round a number to a specific number of decimal places: 1.234 → 1.2
☆160Updated 2 weeks ago
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
- Replace all substring matches in a string☆89Updated 4 years ago
- Reliably get the terminal window size☆144Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Write data to a random temporary file☆105Updated last year
- Simplified high resolution timing☆83Updated last year
- Create a hash for file revving☆105Updated last year
- Check if a URL is absolute☆80Updated 3 weeks ago
- Ensures a value is a valid error by making it one if not☆78Updated 3 weeks ago
- Conditional promise chains☆63Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Truncate a string to a specific width in the terminal☆87Updated 3 weeks ago
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Ensure a function is only called once☆162Updated last year
- Strip leading whitespace from each line in a string☆142Updated 3 weeks ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 3 weeks ago
- Convenience wrapper for Got to interact with the GitHub API☆176Updated 2 years ago
- Get a random temporary file path☆80Updated 2 years ago
- A ridiculously light-weight function argument validator☆132Updated 2 months ago
- Import all modules in a directory☆138Updated 2 years ago
- touch(1) for node☆124Updated last year
- Lazy number range generator☆82Updated last year
- capitalize a string, or all words in a string☆39Updated 3 years ago
- Filter object keys and values into a new object☆104Updated last year
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated last year
- Easy error subclassing and stack customization☆66Updated 3 weeks ago
- Filter promises concurrently☆78Updated last year
- Check if it's the first time the process is run☆79Updated 3 weeks ago
- Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz☆110Updated 3 weeks ago