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

1.0.2 • Public • Published

Installation

npm install --save @types/parsecurrency

Summary

This package contains type definitions for parsecurrency (https://github.com/mktj/parsecurrency#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parsecurrency.

index.d.ts

interface ParsedCurrency {
    raw: string;
    value: number;
    integer: string;
    decimals: string;
    currency: string;
    symbol: string;
    decimalSeparator: string;
    groupSeparator: string;
}

declare function parsecurrency(currency: string): ParsedCurrency | null;

export = parsecurrency;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Cristian Greco.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/parsecurrency

      Weekly Downloads

      2,451

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      3.21 kB

      Total Files

      5

      Last publish

      Collaborators

      • types