Local persist data when offline

Hi guy! What do you use to persist data locally when device is offline and synch it with server when it returned online? Thanks!

I am using GroundDB in my application for data that should persist on the devices when offline. In my case it is user specific content like notes. GroundDB dumps it into local storage for the device so I think as long as your data is less then 5MB when stored as BSON it should be okay.

Anyone use https://atmospherejs.com/jeffm/local-persist?