@scottlexium/finpro
Version:
🚀 FinPro.js by Scott Lexium - The most comprehensive TypeScript library for financial data operations. Features 154+ currencies, 250+ countries, MongoDB-style queries, dual ESM/CommonJS support, and flag integration. Created by Scott Lexium for modern Ja
42 lines • 1.55 kB
TypeScript
/**
* FinPro.js - Financial data library with query-based API
*/
export { Finance } from './core/finance';
export * from './types';
export { FiatModule } from './modules/fiat';
export { GeographyModule } from './modules/geography';
export { CryptoModule } from './modules/crypto';
export { CommoditiesModule } from './modules/commodities';
export { Query } from './core/query';
import { Finance } from './core/finance';
export declare const finance: Finance;
import type { Currency, State, ICountry, ILanguage } from './types';
export declare const getCurrency: (code: string) => Currency | null;
export declare const getAllCurrencies: () => Currency[];
export declare const findCurrencies: (filter: Partial<Currency>) => Currency[];
export declare const getCountry: (code: string) => (ICountry & {
id: string;
}) | null;
export declare const getAllCountries: () => (ICountry & {
id: string;
})[];
export declare const findCountries: (filter: Partial<ICountry & {
id: string;
}>) => (ICountry & {
id: string;
})[];
export declare const getState: (code: string) => State | null;
export declare const getAllStates: () => State[];
export declare const findStates: (filter: Partial<State>) => State[];
export declare const getLanguage: (code: string) => (ILanguage & {
id: string;
}) | null;
export declare const getAllLanguages: () => (ILanguage & {
id: string;
})[];
export declare const findLanguages: (filter: Partial<ILanguage & {
id: string;
}>) => (ILanguage & {
id: string;
})[];
//# sourceMappingURL=index.d.ts.map