Grab OptionsFull reference of all options accepted by the grab() request function.CopyAsk AIGrab Options Every option below can be passed in the second argument of grab(path, options), or set globally as defaults with grab(path, { setDefaults: true, ...options }). PropTypeheaders?Record<string, string>response?TResponse | ((params) => TResponse)method?"GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD"cache?booleancacheForTime?numbertimeout?numberbaseURL?stringcancelOngoingIfNew?booleancancelNewIfOngoing?booleanrateLimit?numberdebug?booleaninfiniteScroll?[string, string, string | HTMLElement]setDefaults?booleanretryAttempts?numberlogger?(...args) => voidonRequest?(...args) => anyonResponse?(...args) => anyonError?(...args) => anyonStream?(...args) => anyonRawResponse?(response: Response) => voidunzip?booleandom?string | booleanunescapeHTML?booleanrepeat?numberrepeatEvery?numberdebounce?numberregrabOnStale?booleanregrabOnFocus?booleanregrabOnNetwork?booleanpost?booleanput?booleanpatch?booleanbody?anyLast updated on CLI UsageCommand-line interface usage examplesExample RequestsBasic usage of the grab library