UNPKG

httpsnippet-lite

Version:

HTTP Request snippet generator for *most* languages

9 lines (8 loc) 301 B
/** * Create a valid Python string of a literal value according to its type. * * @param {*} value Any JavaScript literal * @param {Object} opts Target options * @return {string} */ export declare const literalRepresentation: (value: any, opts: Record<string, any>, indentLevel?: number) => any;