New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@shhhum/xftp-web

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shhhum/xftp-web

XFTP file transfer protocol client for web/browser environments

latest
Source
npmnpm
Version
0.21.0
Version published
Weekly downloads
23
Maintainers
1
Weekly downloads
 
Created
Source

xftp-web

Browser-compatible XFTP file transfer client in TypeScript.

Prerequisites

  • Haskell toolchain with cabal (to build xftp-server)
  • Node.js 20+
  • Chromium system dependencies (see below)

Setup

# Build the XFTP server binary (from repo root)
cabal build xftp-server

# Install JS dependencies
cd xftp-web
npm install

# Install Chromium for Playwright (browser tests)
npx playwright install chromium

If Chromium fails to launch due to missing system libraries, install them with:

# Requires root
npx playwright install-deps chromium

Running tests

# Browser round-trip test (vitest + Playwright headless Chromium)
npm run test

The browser test automatically starts an xftp-server instance on port 7000 via globalSetup, using certs from tests/fixtures/.

Build

npm run build

Output goes to dist/.

FAQs

Package last updated on 27 Feb 2026

Related posts