UNPKG
millify
Version:
latest (6.1.0)
6.1.0
6.0.2
6.0.1
5.0.1
5.0.0
4.0.1
4.0.0
3.5.2
3.5.1
3.5.0
3.4.0
3.3.0
3.2.1
3.2.0
3.1.6
3.1.3
3.1.2
3.1.1
3.1.0
3.0.2
2.0.1
2.0.0
1.0.1
1.0.0
Converts long numbers to pretty, human-readable strings
github.com/izolate/millify
izolate/millify
millify
/
dist
/
millify.d.ts
8 lines
(7 loc)
•
240 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
MillifyOptions
}
from
"./options"
;
/** * millify converts long numbers to human-readable strings. */
declare
function
millify
(
value
:
number
,
options
?:
Partial
<
MillifyOptions
>
):
string
;
export
{ millify };
export
default
millify;