Closed ragusrinivasan closed 9 months ago
@ragusrinivasan Since session storage and local storage both use Storage
it should be fairly easy to implement (since we already have LocalStorageFS).
Added in d922c74. Use it like so:
import { configure, fs } from 'browserfs';
await configure({
'/example/session': {
fs: 'Storage',
options: {
storage: sessionStorage
}
}
});
Can session storage be added to browserfs?