UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

10 lines (9 loc) 291 B
/** * Converts an object or an array of objects to a valid CSV format. * * Implements https://tools.ietf.org/html/rfc4180 * * @param body An object containing the data to be converted. * @returns The data serialized as CSV. */ export declare function convertToCsv(body: any): string;