Couchdb sync gateway in node js

I’m using couchdb in my server using node is and mobile app using javascript.
Now I’m going to sync data between mobile app and server. I found purchase has a feature named sync gateway for such an application. However I didn’t find an appropriate resource to use writing my code.
Could you please help me with that or show me some resources?

CouchDB is not the same as Couchbase. Sync Gateway works with Couchbase Server, not with CouchDB.

What you’re looking for is Couchbase Lite, our mobile database library. Version 1.4 can sync with CouchDB.