UNPKG

@xcrap/core

Version:

Xcrap Core is the core package of the Xcrap framework for web scraping, offering tools such as HttpClient, BaseClient, Randomizer, Rotator, and support for proxies and pagination.

8 lines (7 loc) 157 B
export declare class Rotator<T> { readonly values: T[]; currentIndex: number; constructor(values: T[]); get current(): T; rotate(): T; }