Imagine there would be a JavaScript library called share.js. It let's you share data with others by secret keys. How would the JavaScript code look like for such a module?
Example: you have a todo list:
var todoList = { title: "shopping list" }
var todo1 = { title: "milk", done: false}
var todo2 = { title: "cornflakes", done: false}
var todo3 = { title: "banana", done: false}
Now I want to send the list to my spouse so we can work on it together. How would a JavaScript dream API look like to do that?
I'll start with my own dream code — what's yours?