@types/human-number
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/human-number

      Weekly Downloads

      1,154

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      2.95 kB

      Total Files

      5

      Last publish

      Collaborators

      • types