A JavaScript library for formatting, manipulating, and internationalizing numbers with extensive customization.
Numeral.js is a JavaScript library that formats and manipulates numbers for display in web applications. It solves the problem of presenting numeric data in human-readable formats like currencies, percentages, and localized notations, handling complexities such as rounding, abbreviations, and internationalization automatically.
Frontend and full-stack JavaScript developers who need to display numbers in user interfaces, especially those building internationalized applications, financial dashboards, or data visualization tools.
Developers choose Numeral.js for its extensive formatting options, locale support, and lightweight API that simplifies number presentation without requiring manual string manipulation or complex calculations.
A javascript library for formatting and manipulating numbers.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports currencies, percentages, bytes, exponential notation, and custom patterns, as detailed in the key features for versatile display needs.
Includes multiple locales with language-specific rules and allows custom locale registration, enabling tailored formatting for global audiences.
Parses strings into numbers and gracefully handles null/NaN values, simplifying data ingestion and error prevention in user interfaces.
Formats and locales are modular and act as plugins, facilitating custom builds and community contributions, as seen in the formats directory.
Explicitly does not fix JavaScript's floating-point errors, leading to potential precision issues in calculations, as noted in the changelog.
Version 2.0.0 introduced major API overhauls, such as removing the unformat function and restructuring formats, which can break existing implementations.
Focuses on formatting and basic manipulation, lacking advanced functions like big number support or scientific computing features.