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";

const file = await cache("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.