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

/@david.uhlir/shared-cache/

    Package Sidebar

    Install

    npm i @david.uhlir/shared-cache

    Weekly Downloads

    41

    Version

    0.0.3

    License

    ISC

    Unpacked Size

    55 MB

    Total Files

    301

    Last publish

    Collaborators

    • david.uhlir