Creates a file system with the given configuration, and initializes BrowserFS with it. See the FileSystemConfiguration type for more info on the configuration object.
Retrieve a file system with the given configuration.
A FileSystemConfiguration object. See FileSystemConfiguration for details.
Called when the file system is constructed, or when an error occurs.
Initializes BrowserFS with the given root file system.
Installs BFSRequire as global require
, a Node Buffer polyfill as the global Buffer
variable,
and a Node process polyfill as the global process
variable.
Generated using TypeDoc
Polyfill for CommonJS
require()
. For example, can callBFSRequire('fs')
to get a 'fs' module polyfill.