
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
nodejs-fs-explorer-ui-bundle
Advanced tools
Browser bundle files for the nodejs-fs-explorer-ui package
Standalone File Explorer UI 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.
This may be useful if you have an existing project that uses any of these libraries, you can add this to let users explore and modify the file system.
This project bundles the svelte component from https://www.npmjs.com/package/nodejs-fs-explorer-ui to make it easily reusable without needing Svelte. If you are using Svelte you should use the Svelte component directly.

npm install nodejs-fs-explorer-ui-bundle
import mountNodeJsFsExplorer from "nodejs-fs-explorer-ui-bundle";
import fs from "@zenfs/core";
mountNodeJsFsExplorer(container, fs, {
initialDir: "/home",
});
If you are not using npm or a bundler you can download the standalone prebuilt files from the dist folder:
<!DOCTYPE html>
<html>
<head>
<!-- Always use the .iife.js since it is minified and optimized for this use case -->
<script src="./nodejs-fs-explorer-ui-bundle.iife.js"></script>
</head>
<body>
<div id="explorer"></div>
<script type="module">
import * as fs from "./zenfs/esm/core.browser.min.js";
const container = document.getElementById("explorer");
// This function is exposed as a global variable when using the .iife.js prebuilt file
mountNodeJsFsExplorer(container, fs, {
initialDir: "/home",
});
</script>
</body>
</html>
pnpm install
pnpm build
This will create a vite server with live reloading
pnpm dev
To test the build files you can start an http server and browse to the test-build.html file.
This software is distributed under the LGPL-3.0 license.
FAQs
Browser bundle files for the nodejs-fs-explorer-ui package
The npm package nodejs-fs-explorer-ui-bundle receives a total of 3 weekly downloads. As such, nodejs-fs-explorer-ui-bundle popularity was classified as not popular.
We found that nodejs-fs-explorer-ui-bundle demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.