awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
adamwdraper avatar

adamwdraper/Numeral-js

0
View on GitHub↗
9,706 stars·906 forks·JavaScript·MIT·12 viewsnumeraljs.com↗

Numeral Js

Numeral-js is a JavaScript number formatting library used to convert raw numeric values into human-readable strings for currencies, percentages, and abbreviations. It includes a numeric string parser to extract raw values from formatted strings by removing symbols and delimiters.

The library provides locale-aware formatting to adjust decimal separators and currency symbols based on regional language settings. It also features a data size converter that transforms byte values into readable measurements using base-1000 or base-1024 standards.

The system supports the registration of custom formatting rules for specialized numeric representations and utilizes customizable display patterns to handle ordinals and abbreviations.

Features

  • Numeric Data Formatting - Provides a comprehensive system for converting raw numbers into human-readable strings for currencies, percentages, and abbreviations.
  • Numeric Formatting - Provides a comprehensive suite for displaying numbers according to locale-specific conventions, currencies, and percentages.
  • Numeric String Extractors - Extracts raw numeric values from formatted strings using regular expression patterns to preserve precision.
  • Symbol Mappings - Uses locale-aware lookup tables to swap decimal and thousand separators based on regional settings.
  • String and Numeric Formatting - Uses pattern-based specifications to convert numeric values into styled and aligned strings.
  • String Parsing Algorithms - Implements string parsing algorithms to extract raw numbers from formatted text.
  • Localised Number Displays - Adjusts decimal separators and currency symbols based on regional settings for accurate local display.
  • Locale-Aware Value Formatting - Implements formatting rules that transform numeric data based on currency, decimals, and regional locales.
  • Data Size Conversions - Transforms numeric byte values into readable measurements using base-1000 or base-1024 standards.
  • Data Size Converters - Converts raw numeric byte values into human-readable measurements using base-1000 or base-1024 formats.
  • Transformation Chains - Implements sequential transformation chains to process numeric values before final string output.
  • Value Manipulation Utilities - Provides utilities for calculating and manipulating numeric values to prepare them for display.
  • Custom Format Registrations - Allows registration of new formatting rules to handle specialized numeric representations.
  • Custom Format Registries - Provides a central registry to store and reuse custom numeric formatting patterns via shorthand aliases.
  • Custom Representation Rules - Allows the definition of specialized formatting rules for non-standard numeric representations.
  • Data Size Formatting - Converts numeric byte values into human-readable measurements using base-1000 or base-1024 standards.
  • Number Utilities - Formatting and manipulating numeric values.
  • Numeric and Math Utilities - Formats and manipulates numbers for display.
  • Numeric Utilities - Formats and manipulates numeric values.

Star history

Star history chart for adamwdraper/numeral-jsStar history chart for adamwdraper/numeral-js

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Numeral Js

These projects share indexed features with Numeral Js. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • barvian/number-flowbarvian avatar

    barvian/number-flow

    7,128View on GitHub↗

    number-flow is an animated number UI component that creates fluid vertical transitions between numeric values using digit-by-digit animations. It serves as a locale-aware number formatter that represents values according to regional cultural rules and browser internationalization standards. The component is designed for precise visual integration, exposing internal elements via CSS to allow for external styling. It incorporates accessibility features by detecting browser capabilities and respecting system-level reduced motion preferences. The project covers capabilities for dynamic data visu

    TypeScriptaccessibleanimationodometer
    View on GitHub↗7,128
  • mikemcl/bignumber.jsMikeMcl avatar

    MikeMcl/bignumber.js

    7,004View on GitHub↗

    bignumber.js is an arbitrary-precision JavaScript library designed to perform mathematical operations on decimals and integers that exceed the limits of standard floating-point numbers. It functions as a decimal arithmetic engine and a math library for calculating square roots, powers, and modular exponentiation. The project provides a base conversion utility capable of parsing and translating numeric values between any base from 2 to 36. It also includes a numeric formatting tool for rendering high-precision values into localized strings with custom separators and notation styles. The libra

    JavaScript
    View on GitHub↗7,004
  • chancejs/chancejschancejs avatar

    chancejs/chancejs

    6,541View on GitHub↗

    Chance is a JavaScript library for generating random data, designed to produce realistic test data for automated tests and prototypes. It uses a Mersenne Twister pseudo-random number generator that accepts an optional seed value, enabling reproducible sequences of random values across multiple runs. The library provides a wide range of generators for common data types, including random integers, floats, booleans, characters, strings, and dates, all with configurable ranges and character pools. It can generate realistic geographic data like addresses, as well as financial data such as credit c

    JavaScript
    View on GitHub↗6,541
  • s-yadav/react-number-formats-yadav avatar

    s-yadav/react-number-format

    4,091View on GitHub↗

    This library provides a set of tools for formatting numeric values and masking user input within React components. It includes a customizable text input wrapper that synchronizes raw numeric values with formatted display strings and a specialized input masking component for enforcing string patterns and templates during data entry. The project features a localized number formatter that utilizes browser localization APIs to apply regional grouping, prefixes, and suffixes. It supports specialized financial formatting, such as displaying negative values in parentheses, and provides the ability t

    JavaScript
    View on GitHub↗4,091
Compare all 30 related projects→

Frequently asked questions

What does adamwdraper/numeral-js do?

Numeral-js is a JavaScript number formatting library used to convert raw numeric values into human-readable strings for currencies, percentages, and abbreviations. It includes a numeric string parser to extract raw values from formatted strings by removing symbols and delimiters.

What are the main features of adamwdraper/numeral-js?

The main features of adamwdraper/numeral-js are: Numeric Data Formatting, Numeric Formatting, Numeric String Extractors, Symbol Mappings, String and Numeric Formatting, String Parsing Algorithms, Localised Number Displays, Locale-Aware Value Formatting.

Which projects share features with adamwdraper/numeral-js?

Projects with overlapping indexed features include: barvian/number-flow — number-flow is an animated number UI component that creates fluid vertical transitions between numeric values using… mikemcl/bignumber.js — bignumber.js is an arbitrary-precision JavaScript library designed to perform mathematical operations on decimals and… chancejs/chancejs — Chance is a JavaScript library for generating random data, designed to produce realistic test data for automated tests… s-yadav/react-number-format — This library provides a set of tools for formatting numeric values and masking user input within React components. It… dustin/go-humanize — go-humanize is a Go library for converting raw numbers, byte sizes, and durations into natural language strings to… kazupon/vue-i18n — vue-i18n is an internationalization framework and plugin for Vue.js applications. It serves as a dynamic translation…