@types/world-currencies
Advanced tools
Weekly downloads
Readme
npm install --save @types/world-currencies
This package contains type definitions for world-currencies (https://github.com/wiredmax/world-currencies).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/world-currencies.
// Type definitions for world-currencies 0.0
// Project: https://github.com/wiredmax/world-currencies
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = worldCurrencies;
declare const worldCurrencies: Record<string, worldCurrencies.Currency>;
declare namespace worldCurrencies {
interface Currency {
name: string;
iso: IsoData;
units: {
major: Unit;
minor: MinorUnit;
minor2?: MinorUnit | undefined;
};
banknotes: CashValues;
coins: CashValues;
}
interface IsoData {
code: string;
number: string;
}
interface Unit {
name: string;
symbol: string;
}
interface MinorUnit extends Unit {
majorValue: number;
}
interface CashValues {
frequent: string[];
rare: string[];
}
}
These definitions were written by BendingBender.
FAQs
TypeScript definitions for world-currencies
The npm package @types/world-currencies receives a total of 439 weekly downloads. As such, @types/world-currencies popularity was classified as not popular.
We found that @types/world-currencies demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.