File Explorer Svelte component for the NodeJS filesystem API for using in the browser, i.e. for browser libraries that implement the NodeJS FS API such as zenfs and memfs.
For using without svelte use the https://www.npmjs.com/package/nodejs-fs-explorer-ui-bundle package
npm install nodejs-fs-explorer-ui
<script>
import FileExplorer from "nodejs-fs-explorer-ui";
import fs from "@zenfs/core";
</script>
<FileExplorer {fs} />
Once you've installed dependencies with npm install (or pnpm install or yarn), start a development server:
pnpm run dev
Everything inside src/lib is part of the library, everything inside src/routes can be used as a showcase or preview app.
To build and pack:
pnpm pack
To create a production version of the library:
pnpm run build
You can preview the production build with pnpm run preview.
pnpm publish