Optionaloptions: BrowserFsItemSourceOptionsimport { fsHandleSource, BrowserFsItemSourceOptions } from '@cypsela/browser-source'
import { createHelia } from 'helia'
import { unixfs } from '@helia/unixfs'
const helia = await createHelia()
const fs = unixfs(helia)
const handle: FileSystemHandle = /* Get from drag-and-drop events */;
for await (const { cid } of fs.addAll(fsHandleSource(handle))) {}
Takes a FileSystemHandle and turns it into an ImportCandidateStream for importing into @helia/unixfs.