UNPKG

tracking-params

Version:

Easily get and remove unwanted tracking parameters from URLs.

11 lines (10 loc) 321 B
import { ParamInfo } from './params'; interface UrlTrackingData { url: string; isDirty: boolean; trackingParams: ParamInfo[]; cleanUrl: string; } export declare const getTrackingData: (dirtyUrl: string) => UrlTrackingData; export declare const cleanUrl: (dirtyUrl: string) => string; export {};