Round a number to a specific number of decimal places: 1.234 → 1.2
☆162Sep 17, 2025Updated last year
Alternatives and similar repositories for round-to
Users that are interested in round-to are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 3 years ago
- Generate a random float☆37Apr 18, 2021Updated 5 years ago
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- ES2015 Math.hypot() ponyfill☆12Apr 7, 2021Updated 5 years ago
- Left pad each line in a string☆20Sep 18, 2026Updated last month
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 5 years ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 5 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Generate a random integer☆92Sep 15, 2025Updated last year
- Pretty time zone: +2 or -9:30☆58Sep 18, 2026Updated last month
- Convert a value to an array☆134Sep 18, 2026Updated last month
- Node.js 0.12 util.debuglog() ponyfill☆20Oct 30, 2023Updated 3 years ago
- Clamp a number☆17Jul 12, 2025Updated last year
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 5 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 8 months ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 5 years ago
- Get a random item from an array☆57Mar 28, 2022Updated 4 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated last year
- Bind all methods in an object to itself or a specified context☆59Apr 19, 2021Updated 5 years ago
- Copy a file☆123Jul 25, 2026Updated 3 months ago
- Strip a substring from the start/end of a string☆23Sep 18, 2026Updated last month
- Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module☆23Sep 17, 2021Updated 5 years ago
- Generate random numbers that are consecutively unique☆119Sep 18, 2026Updated last month
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Application level sharding made simple!☆10Mar 25, 2017Updated 9 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated last month
- Create a table from an array of objects☆17May 27, 2017Updated 9 years ago
- [DEPRECATED] Lint your npm package☆58Jan 23, 2021Updated 5 years ago
- Split lines into an array of lines☆48Sep 18, 2026Updated last month
- Convert a time string to seconds: '0017' → 1337☆37May 3, 2021Updated 5 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Get free disk space info from `df -kP`☆63Sep 18, 2026Updated last month
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated 2 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Find multiple RegExp matches in a string☆90Sep 18, 2026Updated last month
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Sep 18, 2026Updated last month
- Exclude certain items from an array☆25Jun 13, 2025Updated last year
- Check if a value is a plain object☆109Sep 18, 2026Updated last month
- Get the command history of the user's shell☆87Nov 2, 2025Updated 11 months ago
- [DEPRECATED] Kap plugin - Copy GIFs to clipboard☆15Jul 7, 2020Updated 6 years ago
- Check if a value matches a condition☆13Feb 19, 2018Updated 8 years ago