init commit,

This commit is contained in:
louiscklaw
2025-05-28 09:55:51 +08:00
commit efe70ceb69
8042 changed files with 951668 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
export const readFrom = async (cache, path) => {
const data = await cache.get(path);
return JSON.parse(data);
};
export const writeTo = async (cache, path, data) => {
await cache.put(path, JSON.stringify(data));
};