-
-
Notifications
You must be signed in to change notification settings - Fork 45
Home
Jimmy Wärting edited this page Jul 17, 2020
·
1 revision
Welcome to the native-file-system-adapter wiki!
This adapter package follows the drafted Native File System spec. As long as the spec is an unofficial draft and the spec is still changing and still behind a flag in the browser this package Major version zero (0. y.z) is for initial development. Anything may change at any time and the public API should not be considered stable.
The goal of this package is for it to follow the spec with one minor differences
- changing the underlying storage for making it able to function with other browser/cloud storage that have not yet implemented the native file system yet
getOriginPrivateDirectory() // opens native sandboxed file system
getOriginPrivateDirectory(import('../src/adapters/sandbox.js')) // changing the storage layer
It's also possible to develop your own adapter and wrap it into this api.
Therefore it dose not try to replace/patch or conditionally load like a normal polyfill would. learn more about what a ponyfill is