Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denosaurs/cache
π₯ Deno cache library
https://github.com/denosaurs/cache
cache deno file filesystem
Last synced: 24 days 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 (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T15:12:59.000Z (over 1 year ago)
- Last Synced: 2024-04-14T02:19:43.526Z (7 months ago)
- Topics: cache, deno, file, filesystem
- Language: TypeScript
- Homepage: https://deno.land/x/cache
- Size: 86.9 KB
- Stars: 49
- Watchers: 3
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# cache
[![Tags](https://img.shields.io/github/release/denosaurs/cache)](https://github.com/denosaurs/cache/releases)
[![Checks](https://github.com/denosaurs/cache/actions/workflows/deno.yml/badge.svg)](https://github.com/denosaurs/cache/actions/workflows/deno.yml)
[![Dependencies](https://github.com/denosaurs/cache/actions/workflows/depsbot.yml/badge.svg)](https://github.com/denosaurs/cache/actions/workflows/depsbot.yml)
[![License](https://img.shields.io/github/license/denosaurs/cache)](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 "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
- Filippo Rossi ([@qu4k](https://github.com/qu4k))
- Elias SjΓΆgreen ([@eliassjogreen](https://github.com/eliassjogreen))## 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-2023, the denosaurs team. All rights reserved. MIT license.