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/dockline-ftp-client

v1.0.0

Published

FTP and FTPS transfer client for Dockline

Readme

@jalsoedesign/dockline-ftp-client

FTP, explicit FTPS and implicit FTPS for Dockline, backed by basic-ftp. Use this client directly or install it alongside @jalsoedesign/dockline-core for the common Dockline API and local file helpers.

The client depends on @jalsoedesign/dockline-abstract and its own FTP transport stack. It does not require core, the SFTP client or the SSH transport libraries.

Installation

For a source build, follow the compiler guide.

Choose the installation matching your API:

npm install @jalsoedesign/dockline-core @jalsoedesign/dockline-ftp-client

For only the direct client:

npm install @jalsoedesign/dockline-ftp-client

Use the client directly

createConnector() accepts the common FTP configuration and returns a concrete FtpConnector without connecting:

import {createConnector} from '@jalsoedesign/dockline-ftp-client';

const connector = createConnector({
    protocol: 'ftps',
    host: 'ftp.example.com',
    username: 'deploy',
    password: process.env.FTP_PASSWORD,
    root: '/uploads',
});

try {
    await connector.connect();

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

Supply your actual server settings and credentials. ftps uses explicit TLS on port 21; ftps-implicit uses implicit TLS on port 990; ftp is unencrypted FTP on port 21. Set a different port when required. FTPS verifies certificates. Passive mode is supported; active mode is rejected.

The established new FtpConnector(FtpConnectorConfig) constructor remains available with low-level names such as user, initialPath and secure. Direct adapter paths retain their low-level semantics. Core supplies the relative-path convenience layer and uploadFile()/downloadFile().

Transfers and controls

The adapter provides listing, metadata, streamed reads/writes, directories, deletion, explicit rename/publication policies, progress, bandwidth budgets, timeouts, cancellation, eligible retries and capability reports. Size is unlimited by default; set maxBytes explicitly when needed. Consume returned streams before closing the session.

FTP cannot guarantee portable no-replace or atomic rename. Publication and rename require explicit replacement permission where documented. Unsupported guarantees fail instead of being silently weakened.

See Quick start FTP for connecting, local-to-remote uploads, remote-to-local downloads and everyday operations through core. Read FTP options, API and errors for direct-client details.