Skip to content

@sebastianwessel/quickjs v3.0.1


@sebastianwessel/quickjs / createVirtualFileSystem

Function: createVirtualFileSystem()

createVirtualFileSystem(runtimeOptions?): object

Defined in: createVirtualFileSystem.ts:48

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: