Added indexdb wrapper & cache support for it
All checks were successful
Build / Build NPM Project (push) Successful in 1m24s
Build / Tag Version (push) Successful in 53s
Build / Publish Documentation (push) Successful in 1m28s

This commit is contained in:
2025-05-15 16:06:32 -04:00
parent fec373ca4c
commit 2a7fa18c0e
6 changed files with 166 additions and 16 deletions

15
index.html Normal file
View File

@ -0,0 +1,15 @@
<html>
<body>
<script type="module">
import {Cache, Collection} from './dist/index.mjs';
const cache = new Cache('id', {
ttl: 60,
storage: new Collection('test', 'test'),
expiryPolicy: 'delete'
});
cache.add({id: 1, name: 'zak', age: 27});
</script>
</body>
</html>