node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

30
server/node_modules/oblivious-set/README.md generated vendored Normal file
View File

@@ -0,0 +1,30 @@
# oblivious-set
Like a JavaScript Set() but with a TTL for entries.
In difference to other caches with TTLs out there, this one does not need intervals or timeouts to work.
This means it can be properly garbage collected when there is no more reference to the instance.
## Usage
```ts
import { ObliviousSet } from 'oblivious-set';
// create a set
const obliviousSet = new ObliviousSet(
100 // TTL in milliseconds
);
// add a value
obliviousSet.add('foobar');
// check existence
console.log(obliviousSet.has('foobar')); // > true
console.log(obliviousSet.has('barfoo')); // > false
// clear
obliviousSet.clear();
```