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

cache

Cache library, compatible with deno module caching.


⚠️ Work in progress. Expect breaking changes.


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

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.