@bithero/emscripten-fsbrowser

1.1.0 • Public • Published

emscripten fs-browser

Npm package version

A simple filebrowser for emscripten's virtual filesystem.

License

AGPL-3.0-or-later; see LICENSE file for more details.

Usage

Just put <script src="fs_browser.js"></script> somewhere inside your custom html, and call init_explorer_static() from one of your preRun hooks:

var Module = {
    preRun: [
        function () {
            init_explorer_static();
        }
    ],
    // ...
}

Dependencies

The fsbrowser currently depends on:

  • monaco to provide an way to edit files.
  • glsl-monaco to provide some basic glsl highligting for opengl shaders
  • darkplus-monaco as theme for monaco

Readme

Keywords

Package Sidebar

Install

npm i @bithero/emscripten-fsbrowser

Weekly Downloads

2

Version

1.1.0

License

SEE LICENSE IN LICENSE

Unpacked Size

55.9 kB

Total Files

6

Last publish

Collaborators

  • mai-lapyst