@david.uhlir/shared-cache
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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'))
})()

Dependencies (1)

Dev Dependencies (4)

Package Sidebar

Install

npm i @david.uhlir/shared-cache

Weekly Downloads

33

Version

0.0.3

License

ISC

Unpacked Size

55 MB

Total Files

301

Last publish

Collaborators

  • david.uhlir