Open pflagerd opened 11 months ago
Use tree
as a starting place:
├── index.d.ts
├── index.js
├── lib
│ └── memorystore.js
├── LICENSE
├── package.json
├── README.md
├── test
│ └── store.js
└── yarn.lock
See what ChatGPT4 thinks about things.
Are there build instructions in the README.md?
Doesn't appear to be.
Are there build instructions in a wiki or somewhere else in github?
I notice this bold claim in the readme:
See if this is true; in particular see if it implements store.all(callback).
Does it implement store.all(callback)?
It appears to do so in b1e4c771dcc681117e785ac6ad6184f5109edf9b (my fork's starting revision).
MemoryStore.prototype.all = function (fn) {
var store = this.store
var self = this
debug('Fetching all sessions')
var err = null
var result = {}
try {
store.forEach(function (val, key) {
result[key] = self.serializer.parse(val)
})
} catch (e) {
err = e
}
fn && defer(fn, err, result)
}
I should definitely check this out then ...
Forked. Current revision is b1e4c771dcc681117e785ac6ad6184f5109edf9b.