npm.io
1.0.2 • Published 2 years ago

@types/parsecurrency

Licence
MIT
Version
1.0.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.3K

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 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Cristian Greco.