nodejs-fs-explorer-ui Svelte Themes

Nodejs Fs Explorer Ui

File Explorer Svelte component for the NodeJS filesystem API

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.

For using without svelte use the https://www.npmjs.com/package/nodejs-fs-explorer-ui-bundle package

Install

npm install nodejs-fs-explorer-ui

Usage

<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 dev

Everything 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 pack

To create a production version of the library:

pnpm run build

You can preview the production build with pnpm run preview.

Publishing

pnpm publish

Top categories

Loading Svelte Themes