1.0.6 • Published 10 months ago
@jswork/next-lru-fs-storage v1.0.6
next-lru-fs-storage
LRU fs storage for next.
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.