Using without http server
user753 opened this issue · 1 comments
user753 commented
I would like to use it in tests like this
const mementoClient = MementoClient({
cacheDirectory: path.join(__dirname, '<path to cache directory>')
});
const response = await mementoClient.request({url: 'foo', requestHeaders: [], ...})
I believe it should work faster than requests through http
antoinechalifour commented
Love this feature! Im adding it to my roadmap