From caaeec22a03f02ee175a28f9940124dbcce616ba Mon Sep 17 00:00:00 2001 From: Eric Aguayo Date: Wed, 16 Oct 2024 14:34:26 -0500 Subject: [PATCH] Added parse to API --- sitemapper.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sitemapper.d.ts b/sitemapper.d.ts index 67dc261..c44a09c 100644 --- a/sitemapper.d.ts +++ b/sitemapper.d.ts @@ -34,6 +34,13 @@ declare class Sitemapper { * @param url URL to the sitemap.xml file */ fetch(url?: string): Promise; + + /** + * Requests the URL and uses parseStringPromise to parse through and find the data + * + * @param url URL to the sitemap.xml file + */ + parse(url?: string): Promise; } export default Sitemapper;