UNPKG

curlconverter

Version:

convert curl commands to Python, JavaScript, Go, PHP and more

7 lines (6 loc) 445 B
import type { Request, Warnings } from "../parse.js"; export declare const supportedArgs: Set<string>; export declare function reprStr(s: string, quote?: "'" | '"' | "{}"): string; export declare function _toRuby(requests: Request[], warnings?: Warnings): string; export declare function toRubyWarn(curlCommand: string | string[], warnings?: Warnings): [string, Warnings]; export declare function toRuby(curlCommand: string | string[]): string;