npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@jalsoedesign/filezilla-connector-sftp

v1.0.0

Published

FileZilla saved-site SFTP mapping, read-only host-key import and Dockline compatibility exports

Readme

Read the documentation

@jalsoedesign/filezilla-connector-sftp

Generic transfer classes, errors and tools are implemented by @jalsoedesign/dockline-sftp-client and re-exported here for compatibility. FileZilla-specific factories/registry and read-only FileZilla host-key import remain in this repository. Concrete factories support toConfig(server, options?) for the shared Dockline SDK as well as existing fromServer adapters. See the repository VitePress guide for complete configuration and single-file examples.

npm version License: MIT CI

SFTP connector for the FileZilla TS packages.

Features

  • SFTP with typed errors, explicit trust, agent/interactive authentication and transfer controls.
  • Integrated with FileZilla's sitemanager.xml configuration via @jalsoedesign/filezilla-core.
  • Uses the shared error hierarchy from @jalsoedesign/filezilla-connector-abstract.

Install

Use Node ^22.22.2 || ^24.15.0 || >=26.0.0. Install from the public npm registry.

npm install @jalsoedesign/filezilla-connector-sftp

Usage

import {getDefaultSiteManager} from '@jalsoedesign/filezilla-core';
import {SftpConnectorFactory} from '@jalsoedesign/filezilla-connector-sftp';

const sm = getDefaultSiteManager();
const site = sm.getServerByPath('Production/SFTP Server');

if (site) {
    const fingerprint = process.env.SFTP_HOST_FINGERPRINT;

    if (!fingerprint) {
        throw new Error('An independently verified host-key fingerprint is required.');
    }

    const connector = SftpConnectorFactory.fromServer(site, {
        requireTrustPolicy: true,
        hasTrustPolicy: challenge => challenge.fingerprint === fingerprint,
        acceptTrustPolicy: () => false,
    });

    try {
        await connector.connect();

        for await (const entry of connector.list('.', {deep: false})) {
            console.log(entry.path, entry.type);
        }
    } finally {
        await connector.disconnect();
    }
}

Documentation

Site Manager settings do not establish server trust. The example requires a separately verified SHA256 fingerprint and rejects unknown keys. Optional agent/interactive authentication, credential providers, managed known hosts and keepalives are documented in SSH options. See advanced transfers for publication, checksums and copy guarantees.

For more detailed information, see the documentation:

Testing

To run the SFTP connector tests (requires a local SFTP server, which is automatically handled by the test suite):

npm test

License

MIT © JalsoeDesign