encrypted-cache
v1.0.1
Published
Encrypted filesystem key-value store.
Downloads
2
Maintainers
Readme
Encrypted Cache
An enctypted filesystem cache.
Install
npm install encrypted-cache
API
Api is based on convenient callbacks
.
Create new store
var store = new Store(path);
Write something to store
store.write('my key', buffer, function(err) { });
Read it back
store.read('my key', function(err, buffer) { });
Rename cache key
store.rename(src, dst, function(err) { });
Remove cache entry
store.remove('my key', function(err) { });
Additionnaly
store.clean();
store.pathHash(key);
LICENSE
BSD