init repo

This commit is contained in:
2025-10-21 22:18:18 +01:00
parent 09affd5191
commit fb8ff229c9
8 changed files with 130 additions and 0 deletions

14
src/index.ts Normal file
View File

@@ -0,0 +1,14 @@
export default class Updater {
public archiveURL: string;
public feedType: string;
constructor(archiveURL: string = "/", feedType: string = "rss") {
this.archiveURL = archiveURL;
this.feedType = feedType;
}
async getArchive(): Promise<void> {
const res = await fetch(`${this.archiveURL}.${this.feedType}`);
console.log(res);
}
}