FS module is not exported by default when using the flag
-s EXPORT_NAME="'SomeModuleName'"
If you want to export the FS module, you need to add a flag
-s 'EXTRA_EXPORTED_RUNTIME_METHODS=["FS"]'
Then you can access Module['FS']or for this example it will be SomeModuleName['FS'] emscripten .
FS , .
, - BrowserFS