Installation
npm install --save @types/human-number
Summary
This package contains type definitions for human-number (https://nicedoc.io/Kikobeats/human-number).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/human-number.
index.d.ts
/**
* Convert number to a human readable string: 13500 → 13.5K.
*/
declare function humanNumber(n: number, mapper?: (n: number) => string): string;
export = humanNumber;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Piotr Błażejewicz.