number-abbreviate

Abbreviate a number and add unit letters e.g. 2200000 => '2.2m'
v2.0.0 URL: https://unpkg.com/number-abbreviate@2.0.0/index.js
OpenBrowse Files
numbernumber-abbreviateabbreviate

approximate-number

Converts numbers into a more human-friendly format, similar to `ls`'s `--human-readable` flag (`ls -lh`) or Stack Overflow's reputation numbers. For example, 123456 becomes '123k'.
v2.1.1 URL: https://unpkg.com/approximate-number@2.1.1/lib/approximate-number.js
OpenBrowse Files
approximate-numberabbreviateabbreviatedhumanfriendlyreadablelargebignumbernumbersstack overflowstack exchange-hformatformatterapproximateapproximationshortsimplenearnearestclosestroundthousandmillionbilliontrillion

currency-to-abbreviation

Convert numbers to abbreviated currency values. Example: 1000000 -> $1M
v2.0.1 URL: https://unpkg.com/currency-to-abbreviation@2.0.1/lib/index.js
OpenBrowse Files
currencymoneylocaleshortshortedabbreviateabbreviation

@stdlib/string-acronym

Generate an acronym for a given string.
v0.3.2 URL: https://unpkg.com/@stdlib/string-acronym@0.3.2/lib/index.js
OpenBrowse Files
stdlibstdstringutilitiesutilityutilsutilstringstrshortabbreviationabbrabbreviateacronym

stringx-js

A comprehensive JavaScript library for string, number, and array manipulation inspired by Laravel. Includes 95+ string methods, 25+ number formatters, and 60 array utilities with fluent chaining, dot notation, and TypeScript support.
v1.1.3 URL: https://unpkg.com/stringx-js@1.1.3/index.js
OpenBrowse Files
stringnumberarraylaravelstrarrutilityhelperjavascripttypescriptes6string-manipulationnumber-formattingarray-manipulationarray-utilsarray-helpersdot-notationnested-objectscurrencypercentagefilesizeabbreviateordinaluuidulidcamelcasesnakecasekebabcaseslugpluralizevalidationpassword-generatorstring-utilsfluentchainingmethod-chainingstringableintllocalei18nmultilingualn2wordsspell-numbernumber-to-wordspluckmapfilterflattencollection