Skip to main content
Version: Next

@crawlee/types

Index

Other

CrawleeLogger

Re-exports CrawleeLogger

CrawleeLoggerOptions

IBrowserPool

Re-exports IBrowserPool

LogOptions

Re-exports LogOptions

NewPageOptions

Re-exports NewPageOptions

StorageBackend

Re-exports StorageBackend

StorageIdentifier

AllowedHttpMethods

AllowedHttpMethods: GET | HEAD | POST | PUT | DELETE | TRACE | OPTIONS | CONNECT | PATCH | get | head | post | put | delete | trace | options | connect | patch

Awaitable

Awaitable<T>: T | PromiseLike<T>

Type parameters

  • T

Constructor

Constructor<T>: new (...args) => T

Type parameters

  • T = unknown

Type declaration

    • new (...args): T
    • Parameters

      • rest...args: any[]

      Returns T

Dictionary

Dictionary<T>: Record<PropertyKey, T>

Type parameters

  • T = any

KeyValueStoreRecordInputValue

KeyValueStoreRecordInputValue: Buffer | ArrayBuffer | ArrayBufferView | string | NodeJS.ReadableStream | ReadableStream

The value a serialized record carries on the way into a storage backend (setValue).

The KeyValueStore frontend has already serialized by this point, so it is a pre-serialized string, raw bytes (Buffer / ArrayBuffer / typed array), or a stream the client drains.

SearchParams

SearchParams: string | URLSearchParams | Record<string, string | number | boolean | null | undefined>