browser-level
browser-level copied to clipboard
Override default deserialization
Is there a way to bypass deserialize
call after getting data?
https://github.com/Level/browser-level/blob/main/index.js#L135
I need to work with js objects with no encoding. Details here: https://gist.github.com/saulshanabrook/b74984677bccd08b028b30d9968623f5
I can disable encoding over level's public API but deserialization of browser-level still encodes objects as Uint8Array.
I understand that using level without encoding sounds weird as I may as well just use indexeddb directly if I don't need encodings. I use level to get a little nicer API and browser / nodejs / in memry abstraction.