UNPKG

with-query

Version:

Format url with query (string or object), simple and fast, with the power of qs

9 lines 335 B
import * as qs from 'qs'; export interface WithQueryOptions { stringifyOpt?: qs.IStringifyOptions; parseOpt?: qs.IParseOptions; noHash?: boolean; } export declare function withQuery(url?: string | null, query?: object | string, opts?: WithQueryOptions): string; export default withQuery; //# sourceMappingURL=index.d.ts.map