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

@leogps/file-uploader

v2.0.4

Published

Facilitates file uploader server.

Downloads

526

Readme

@leogps/file-uploader

Zero-config command-line tool to run a file-uploader server. Files can be uploaded typically from a browser.

Both Server and Client are written in JS.

Features

  • Parallel file uploads
    • Number of files to upload simultaneously can be configured -N | --parallel-file-uploads
  • Chunked/Resumable uploads
    • Chunk size is configurable -s | --chunk-size
    • Number of Parallel uploads are configurable -n | --parallel-chunk-uploads
    • Uses SHA1 verification to ensure chunks are valid
  • Optionally disable resumable uploads

Installation

Running on-demand:

Using npx you can run the script without installing it first:

npx @leogps/file-uploader [path] [options]

Globally via npm

npm install --global @leogps/file-uploader

As a dependency in your npm package:

npm install @leogps/file-uploader

Using Docker

Note: a public image is not provided currently, but you can build one yourself with the provided Dockerfile.

  1. Create an image
    docker build -t my-image .
  2. Run a container
    docker run -p 8080:8080 -v "${pwd}:/public" my-image
    In the example above we're serving the directory ./ (working directory). If you wanted to serve ./test you'd replace ${pwd} with ${pwd}/test.

Usage

🚀file-uploader [path] [options]

Options:
  -l, --upload-location         upload location                                          [string] [default: "/Users/<username>/uploads/"]
  -p, --port                    server port                                              [number] [default: 8082]
  -s, --chunk-size              chunk size in bytes                                      [number] [default: 512 KiB]
  -N, --parallel-file-uploads   number of simultaneous parallel file uploads             [number] [default: 3]
  -n, --parallel-chunk-uploads  number of simultaneous parallel chunk uploads (per file) [number] [default: 10]
  -c, --enable-compression      enable gzip compression (server to client responses)     [boolean] [default: true]
  -m, --max-file-size           maximum file size in bytes                               [number] [default: 100 GiB]
  --version                     Show version number                                      [boolean]
  --help                        Show help                                                [boolean]

Development

Checkout this repository locally, then:

$ npm i
$ npm start