@yeci226/nhentai-ts
Version:
A scraper for NHentai with types
14 lines (13 loc) • 413 B
TypeScript
import { sites } from '../lib';
export * from './list';
export * from './doujin';
export interface IPagination {
/** Current page of the list */
currentPage: number;
/** Will be true if there is a next page of the list */
hasNextPage: boolean;
/** Totoal pages of the list */
totalPages: number;
}
export type TSite = typeof sites[number];
export type TURL = `https://${TSite}/${string}`;