@yeci226/nhentai-ts
Version:
A scraper for NHentai with types
18 lines (13 loc) • 426 B
text/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}`