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

@trimm/tus-client

v0.4.1

Published

A Tus.io client... as a binary file

Readme

Tus Client as Binary

A Tus protocol client as a single binary file.

You can use it to upload a file to a Tus server or just to try if a Tus server is properly configured.

Getting Started

Download the pre-built binary for your Operating System from the Release page.

Then upload a file to a tus.io based server

$ tus-client upload <FILE> <TUS_SERVER>
# e.g. tus-client.exe upload readme.md https://master.tus.io/files/

running tus-client without command and options outputs the help message

Commands and options

Options, when no command is specified

  • -V (or --version): output the program version
  • -h (or --help): output the help message

Commands

upload

Perform a file upload to a Tus server

upload [options] <file> <server>  Upload a <file> to the Tus <server>

The upload carries the following automatic metadata

  • filename: The name of the file being uploaded
  • filesize: The file size
  • filetype: The file mime type (based on the file extension)
  • upload_request_id: An identifier associated to the request

Arguments

  • <file> the file to upload (required)
  • <server> the Tus server endpoint URL (required)

Options

  • -h (or --help) Output usage information
  • --meta [data] Add custom metadata to the upload. Please format the [data] string as a key/value map, separated by a comma, e.g. "token=hello,request_id=counter"

Example

Upload a file and pass a custom token metadata, with the value of ABCD

tus-client.exe upload --meta "token=ABCD" readme.md https://master.tus.io/files/

Compile from source

Requirements:

  • NodeJS (6.0 or newer)
  • NPM

Yes, it is a Javascript project, but thanks to PKG, by Zeit can be packed into a real executable.

Generate the binaries

Download all the dependencies

# pull the dependencies
npm install

Now generate the binaries for MacOS, Windows and Linux in the ./dist folder

# Build the executables
npm run production

Contribution

Contributions are welcomed, just make a pull request.

The code styling is enforced by eslint, remember to run

npm run lint

and review the style problems.

If you feel confident you can run

npm run lint -- --fix
# or npm run lint:fix

to automatically fix the problems

License

This project is licensed under the MIT license, see LICENSE.txt.