UNPKG

@neiderruiz/translate-files

Version:

Internationalize and manage your website easily with (CSV or JSON to i18n)

14 lines (13 loc) 422 B
import { TypeListLang } from "../types/langs"; type TypeJson = { [key: string]: any; }; export type ConfigOptions = { separator?: string; nameFile?: string; entryLanguage?: string; langs?: TypeListLang[]; }; export declare const createConversion: (jsonObj: TypeJson, config?: ConfigOptions) => string; export declare const convertJsonToCsv: (data: TypeJson, config?: ConfigOptions) => void; export {};