UNPKG

file-system-access

Version:

File System Access API implementation (ponyfill) with pluggable storage adapters via IndexedDB, Cache API, in-memory etc.

9 lines 456 B
import File from 'fetch-blob/file.js'; import Blob from 'fetch-blob'; import { setBlobImpl, setFileImpl } from './adapters/memory.js'; // File and Blob interfaces are not 100% compliant but it's the best we can do // We try to use global File/Blob if they exist, just in case we're importing in a universal app setFileImpl(globalThis.File || File); setBlobImpl(globalThis.Blob || Blob); export * from './es2018.js'; //# sourceMappingURL=node.js.map