1.0.0 • Published 7 years ago

liftcache v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

lift cache

var agent = function(resource,done) {     
    var err = null;
    var val = 'value_to_save';
    done(err, val);
});

var collection = liftcache({
    path: '../cache', 
    agent: agent
});

var lift = collection.lift;

// usage

lift('somekey',function(err,val) console.log(val); });
1.0.0

7 years ago