UNPKG

pubnub

Version:

Publish & Subscribe Real-time Messaging with PubNub

16 lines (12 loc) 194 B
export default class { storage: Object; constructor() { this.storage = {}; } get(key) { return this.storage[key]; } set(key, value) { this.storage[key] = value; } }