scgi

0.0.7 • Public • Published

Scgi

browser cache with garbage collection tool

Installation

npm i scgi

Usage

Notice: cahe will be deleted after expired

import { Scgi } from 'scgi'

let c = new Scgi()

// set value to cache
c.value = { value: 'I am the key', seconds: 10 }

// values of cache
c.values // { value: 'I am the key', seconds: 10 }

Package Sidebar

Install

npm i scgi

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

61.7 kB

Total Files

6

Last publish

Collaborators

  • litt1e-p