# BenjaminVanRyseghem/numbro

A JS library for number formatting

Repository: https://github.com/BenjaminVanRyseghem/numbro
Canonical: https://ross.abutalabs.com/products/numbro
Homepage: http://numbrojs.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, formatting, numbers, hacktoberfest
Last push: 2025-10-17T10:21:32+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 47, release rhythm 8, longevity 100
- inputs: {"age_days": 4167, "days_push": 320, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1142, forks 196 (observed 2026-08-28T04:03:44.852544+00:00)

## What it is
Numbro is a JavaScript library for formatting, converting, and manipulating numbers, including currency, percentages, ordinals, and unit prefixes in over 30 languages. It is a community-maintained fork of Numeral.js distributed under the MIT license.

## Use cases
- format numbers in javascript
- format currency with locale-specific symbols
- display percentages and ordinals
- format numbers with unit prefixes like k and M
- internationalize number formatting in a web app
- parse and normalize numeric strings

## When to choose
- you need locale-aware number, currency, or percentage formatting in JavaScript
- you want a maintained alternative to Numeral.js
- you need support for 30+ languages with BCP 47 tags

## When to avoid
- you need arbitrary-precision decimal math rather than display formatting
- you use a framework with built-in Intl-based formatting and no extra dependencies
- you need date/time formatting - use a date library instead

## Facets
- artifact type: library
- maturity: active
- function: internationalization
- domain: web-development, frontend
- platform: browser
- tags: number-formatting, currency, numeral-js-fork, bcp47, percentage-formatting, formatting, localization, nodejs, javascript

## Member repositories
- BenjaminVanRyseghem/numbro (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.852544+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:34:59.531848+00:00, confidence not recorded.
  - readme: https://github.com/BenjaminVanRyseghem/numbro (fetched 2026-08-28T04:03:44.852544+00:00, sha 73d394206a30)
  - homepage: http://numbrojs.com (fetched 2026-08-29T12:40:23.491445+00:00, sha f07883338e04)
  - site_page: https://numbrojs.com/getting-started.html (fetched 2026-08-29T12:40:23.500195+00:00, sha f66e1ea6a71d)
  - registry_npm: https://registry.npmjs.org/numbro (fetched 2026-08-29T12:40:23.501989+00:00, sha f45a7bd56441)
- Data as of 2026-08-30T08:39:29.467469+00:00.
