You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrap with levelup would do. prefixdown(levelup(down)).
Can detect and supply levelup wrapper, but that means prefixdown needs to be dependent on leveup, thus incompatibility with future levelup version.
varlevelup=require('levelup')module.exports=function(db){db=db.toString()==='LevelUP' ? db : levelup(db)...}
prefixdown(db)
should accept bothLevelUP
andLevelDOWN
instance asdb
The text was updated successfully, but these errors were encountered: