easy-sitemap-generator 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +9 -15
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*/
|
|
10
|
-
export function generate(url: string, destination?: string): Promise<string>;
|
|
1
|
+
/**
|
|
2
|
+
* Generates a sitemap for the given URL and saves it to a file.
|
|
3
|
+
*
|
|
4
|
+
* @param url - The base URL to generate the sitemap for.
|
|
5
|
+
* @param destination - Optional path to save the sitemap file. Defaults to: `./sitemap.xml`
|
|
6
|
+
* @returns A promise that resolves with the contents of the generated sitemap.
|
|
7
|
+
*/
|
|
8
|
+
export function generate(url: string, destination?: string): Promise<string>;
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
* The current version of the `easy-sitemap-generator` module.
|
|
14
|
-
*/
|
|
15
|
-
export const version: string;
|
|
16
|
-
}
|
|
10
|
+
export const version: string;
|