PHPackages                             keringdered/jsx-number-format - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. keringdered/jsx-number-format

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

keringdered/jsx-number-format
=============================

Light Weight Implementation of Number format

10JavaScript

Since Feb 2Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/keringdered/number-format)[ Packagist](https://packagist.org/packages/keringdered/jsx-number-format)[ RSS](/packages/keringdered-jsx-number-format/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

JSX Number Format
=================

[](#jsx-number-format)

This is a lightweight js number formatting library

To install
----------

[](#to-install)

*npm install jsx-number-format*

Usage
=====

[](#usage)

- Syntax

```
NumberFormat(float,decimal_places,thousand_seperater)
```

- Permitted thousand separators are :
    - Comma(,)
    - Space(" ")

```
const {NumberFormat} = require('jsx-number-format');
let formattedNumber =NumberFormat(5000,2,',');
// or formatNumber = NumberFormat(5000);
/*5000 is the amount to format
* 2 decimal places (optional)
* , is the thousand delimiter(optional)
* result: 5,000.00
*/
let formattedNumber2 =  NumberFormat(5000.789,2,',');
/*or formattedNumber2 =  NumberFormat(5000.789);
* gives 5,000.79
*/
//Having .004 which the last value 4 is less than 5
let formattedNumber3 =  NumberFormat(5000.004,2,',');
/* or let formattedNumber3 =  NumberFormat(5000.004);
* gives 5,000.00
*/
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance58

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f5c6efc44d2995cce45f6bee377487d783a6a5ef671c5be90c2007e3a0038be2?d=identicon)[KeringDeRed](/maintainers/KeringDeRed)

---

Top Contributors

[![keringdered](https://avatars.githubusercontent.com/u/32924192?v=4)](https://github.com/keringdered "keringdered (10 commits)")

### Embed Badge

![Health badge](/badges/keringdered-jsx-number-format/health.svg)

```
[![Health](https://phpackages.com/badges/keringdered-jsx-number-format/health.svg)](https://phpackages.com/packages/keringdered-jsx-number-format)
```

###  Alternatives

[amstaffix/pagination

Simple pagination

46290.4k6](/packages/amstaffix-pagination)[faonni/module-smart-category

SmartCategory module is a base of Smart Categories functionality.

8289.3k3](/packages/faonni-module-smart-category)[sitegeist/silhouettes

Preconfigure property-silhuettes that can be applied to various properties of multiple NodeTypes.

16157.5k](/packages/sitegeist-silhouettes)[michaeljennings/refinery

A php class to refine data into a set format.

129.5k2](/packages/michaeljennings-refinery)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
