A small library that adds commas to numbers. Current stable version is 2.1.0. It is a simple, dependency-free utility for formatting numbers with thousands separators. The library has been stable with infrequent releases. It provides a single function that takes a number and returns a string with commas. Differentiators: minimalistic, no dependencies, straightforward API for a common formatting task.
npm install number-formatter-msenyooNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of the formatter to add commas to a number.
Use require() for CommonJS or wrap with createRequire in ES modules.
Convert input to number: numFormatter(Number(value))
Use const numFormatter = require('number-formatter-msenyoo'); not import { numFormatter } from 'number-formatter-msenyoo';No dependency data recorded yet.