nodejs-fs-explorer-ui
v0.1.0
Published
File Explorer Svelte component for the [NodeJS](https://nodejs.org) [filesystem](https://nodejs.org/docs/latest/api/fs.html) API for using in the browser, i.e. for browser libraries that implement the NodeJS FS API such as [zenfs](https://github.com/zen-f
Maintainers
Readme
nodejs-fs-explorer-ui
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.
Install
npm install nodejs-fs-explorer-uiUsage
<script>
import FileExplorer from "nodejs-fs-explorer-ui";
import fs from "@zenfs/core";
</script>
<FileExplorer {fs} />Developing
Once you've installed dependencies with npm install (or pnpm install or yarn), start a development server:
pnpm run devEverything inside src/lib is part of the library, everything inside src/routes can be used as a showcase or preview app.
Building
To build and pack:
pnpm packTo create a production version of the library:
pnpm run buildYou can preview the production build with pnpm run preview.
Publishing
pnpm publish