1.0.6 • Published 10 months ago

@jswork/next-lru-fs-storage v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

next-lru-fs-storage

LRU fs storage for next.

version license size download

installation

npm install -S @jswork/next-lru-fs-storage

usage

// es6
import NxLruFsStorage from '@jswork/next-lru-fs-storage';
// es5
const NxLruFsStorage = require('@jswork/next-lru-fs-storage');

// apis
cache.set('foo','bar')
cache.get('foo')
cache.sets({ 'test':'test-value' })
cache.gets()

license

Code released under the MIT license.