Skip to content

getBrowserFS

Get the BFSEmscriptenFS object of the current running emulator.

See BFSEmscriptenFS for more information.

Since

0.9.0

Usage

const nostalgist = await Nostalgist.nes('flappybird.nes')
const browserFS = nostalgist.getBrowserFS()
const nodeFS = browserFS.getNodeFS()
nodeFS.readdirSync('/')