Realtime data sync in a web application

Is there a way to get Couchbase to sync data from a browser the way Firebase Realtime Database works?