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.