Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.