https://github.com/dbushell/diplodocache
(RETIRED) 💾 Experimental fetch cache for Deno
https://github.com/dbushell/diplodocache
deno javascript typescript
Last synced: 11 months ago
JSON representation
(RETIRED) 💾 Experimental fetch cache for Deno
- Host: GitHub
- URL: https://github.com/dbushell/diplodocache
- Owner: dbushell
- License: mit
- Archived: true
- Created: 2024-03-22T09:56:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-26T05:28:53.000Z (over 1 year ago)
- Last Synced: 2025-02-25T06:45:02.733Z (about 1 year ago)
- Topics: deno, javascript, typescript
- Language: TypeScript
- Homepage:
- Size: 81.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**(RETIRED)** Do not use this project was binned.
* * *
# 💾 Diplodocache
Experimental fetch cache for Deno. API subject to change!
```javascript
import {Diplodocache} from 'jsr:@ssr/diplodocache';
const cache = new Diplodocache({
cachePath: '/path/to/directory'
});
const url = new URL('https://example.com/download.zip');
const response = await cache.fetch(url);
```
* * *
[MIT License](/LICENSE) | Copyright © 2024 [David Bushell](https://dbushell.com)