I've tried to find something similar and as far as I can tell the best current candidate available is pouchdb syncing to a couchdb instance.
If offline first isn't a must have and you're ok supporting 'intermittent offline' then Firestore with offline enabled is probably your simplest option