@david.uhlir/shared-cache

v0.0.3

Published

Cache shared over all forks in cluster

Downloads

2

Readme

Cache shared over all forks in cluster

Usage

import { SharedCache } from '@david.uhlir/shared-cache'

;(async function() {

  // sets value
  await SharedCache.setData('some-key', 'Hello world')

  // gets value
  console.log(await SharedCache.getData('some-key'))
})()