myanimelist-url-to-id
Version:
MyAnimeList raw URL to ID
11 lines • 338 B
TypeScript
/**
* Get Charater ID from given MAL Manga URL.
* @param url URL string of MyAnimeList Manga URL
*/
export declare function getMangaId(url: string): number;
/**
* Get MAL Manga URL (not canonical) from given ID.
* @param id Manga ID
*/
export declare function getMangaUrl(id: number): string;
//# sourceMappingURL=MangaUtil.d.ts.map