Example
const storage = storageDriver(); const notes = new MultiFileCollectionService({ type: "note", storage });
let publish = async () =>{
await notes.createItem({
"txt": "im a note!"
}).then( async (res)=>{
const item = await notes.getItem(res.id)
console.log('get on item',item)
});
let items = await notes.getItems();
console.log('get all items',items)
}
publish()
//