nomem for Meething!

This commit is contained in:
Mark Nadal 2020-05-01 19:08:25 -07:00
parent c93305ae11
commit 51be588a74

11
lib/nomem.js Normal file
View File

@ -0,0 +1,11 @@
function Nomem(){
var opt = {}, u;
opt.put = function(file, data, cb){ cb(null, -9) }; // dev/null!
opt.get = function(file, cb){ cb(null) };
return opt;
}
if(typeof window !== "undefined"){
window.Nomem = Nomem;
} else {
try{ module.exports = Nomem }catch(e){}
}