https://github.com/denosaurs/cache
🥌 Deno cache library
https://github.com/denosaurs/cache
cache deno file filesystem
Last synced: about 1 month ago
JSON representation
🥌 Deno cache library
- Host: GitHub
- URL: https://github.com/denosaurs/cache
- Owner: denosaurs
- License: mit
- Created: 2020-07-19T21:10:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T17:50:49.000Z (7 months ago)
- Last Synced: 2025-04-09T15:05:15.550Z (about 1 month ago)
- Topics: cache, deno, file, filesystem
- Language: TypeScript
- Homepage: https://deno.land/x/cache
- Size: 61.5 KB
- Stars: 51
- Watchers: 2
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# cache
[](https://github.com/denosaurs/cache/releases)
[](https://github.com/denosaurs/cache/actions/workflows/deno.yml)
[](https://github.com/denosaurs/cache/actions/workflows/depsbot.yml)
[](https://github.com/denosaurs/cache/blob/master/LICENSE)Cache library, compatible with deno
[module caching](https://deno.land/manual/linking_to_external_code).```typescript
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);
```## Maintainers
- Filippo Rossi ([@qu4k](https://github.com/qu4k))
- Elias Sjögreen ([@eliassjogreen](https://github.com/eliassjogreen))
- Dean Srebnik ([@load1n9](https://github.com/load1n9))## 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](https://www.conventionalcommits.org/en/v1.0.0/) spec.### Licence
Copyright 2020-2024, the denosaurs team. All rights reserved. MIT license.