Skip to content

@sebastianwessel/quickjs v3.1.0


@sebastianwessel/quickjs / createVirtualFileSystem

Function: createVirtualFileSystem() ​

createVirtualFileSystem(runtimeOptions?): object

Defined in: createVirtualFileSystem.ts:49

Create the virtual file system for the sandbox Creates a node_modules folder with packages and ensures the src folder

Parameters ​

runtimeOptions? ​

RuntimeOptions = {}

Returns ​

object

filesystem fs and volume vol

fs ​

fs: IFs

vol ​

vol: Volume

Updated at: