UNPKG

bluesky-oauth-kit

Version:

A complete OAuth backend implementation for Bluesky

20 lines (15 loc) 329 B
class InMemoryStore { constructor() { this.storeData = {}; } async set(key, value) { this.storeData[key] = value; } async get(key) { return this.storeData[key] || undefined; } async del(key) { delete this.storeData[key]; } } module.exports = { InMemoryStore };