ForrunnerDB has been a good fit over the years. It can run in the browser and works well in Cordova.
With its MongoDB like API, it can store and find any JSON data. It even works well with storing images as Base64 in its JSON documents.