Cache library, compatible with deno module caching.
import { cache } from "jsr:@denosaurs/cache";
const file = await cache("https://example.com/file.json");
const text = await Deno.readTextFile(file.path);
console.log(text);
- Filippo Rossi (@qu4k)
- Elias Sjögreen (@eliassjogreen)
- Dean Srebnik (@load1n9)
Pull request, issues and feedback are very welcome. Code style is formatted with
deno fmt
and commit messages are done following
Conventional Commits spec.
Copyright 2020-2024, the denosaurs team. All rights reserved. MIT license.