Skip to main content
Deno 2 is finally here 🎉️
Learn more

cache

Tags CI Status Dependencies License

Cache library, compatible with deno module caching.

import { Cache } from "https://deno.land/x/cache/mod.ts";

let file = Cache.fetch("https://example.com/file.json");

const text = await Deno.readTextFile(file.path);
console.log(text);

Maintainers

Other

Contribution

Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt and commit messages are done following Conventional Commits spec.

Licence

Copyright 2020-present, the denosaurs team. All rights reserved. MIT license.