@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
33 lines • 1.22 kB
TypeScript
import { Finance } from './core/finance';
import type { Currency, State, ICountry, ILanguage } from './types';
export { Finance } from './core/finance';
export declare const finance: Finance;
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=finance.d.ts.map