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 🙏

© 2025 – Pkg Stats / Ryan Hefner

test1dweb

v1.5.6

Published

A CLI for the test1dweb:// space network.

Downloads

7

Readme

./logo.png

Hyp

A CLI for peer-to-peer file sharing (and more) using the Hypercore Protocol.

📺 Watch The Demo Video

Installation

Requires nodejs 14+

npm install -g @hyperspace/cli

Usage

Command overview:

Usage: test1dweb <command> [opts...]

General Commands:

  test1dweb info [urls...] - Show information about one (or more) hypers.
  test1dweb seed {urls...} - Download and make test1dweb data available to the network.
  test1dweb unseed {urls...} - Stop making test1dweb data available to the network.
  test1dweb create {drive|dtree} - Create a new ddrive or dwebtree.

  test1dweb beam {pass_phrase} - Send a stream of data over the network.

Hyperdrive Commands:

  test1dweb drive ls {url} - List the entries of the given ddrive URL.
  test1dweb drive mkdir {url} - Create a new directory at the given ddrive URL.
  test1dweb drive rmdir {url} - Remove a directory at the given ddrive URL.

  test1dweb drive cat {url} - Output the content of the given ddrive URL.
  test1dweb drive put {url} [content] - Write a file at the given ddrive URL.
  test1dweb drive rm {url} - Remove a file or (if --recursive) a folder at the given ddrive URL.

  test1dweb drive diff {source_path_or_url} {target_path_or_url} - Compare two folders in your local filesystem or in ddrives. Can optionally "commit" the difference.
  test1dweb drive sync {source_path_or_url} [target_path_or_url] - Continuously sync changes between two folders in your local filesystem or in ddrives.

  test1dweb drive http {url} - Host a ddrive as using HTTP on the localhost.

DWebTree Commands:

  test1dweb dtree ls {url} - List the entries of the given dwebtree URL.
  test1dweb dtree get {url} - Get the value of an entry of the given dwebtree URL.
  test1dweb dtree put {url} [value] - Set the value of an entry of the given dwebtree URL.
  test1dweb dtree del {url} - Delete an entry of the given dwebtree URL.

Daemon Commands:

  test1dweb daemon status - Check the status of the hyperspace daemon.
  test1dweb daemon start - Start the hyperspace daemon.
  test1dweb daemon stop - Stop the hyperspace and mirroring daemons if active.

Aliases:

  test1dweb sync -> test1dweb drive sync
  test1dweb diff -> test1dweb drive diff
  test1dweb ls -> test1dweb drive ls
  test1dweb cat -> test1dweb drive cat
  test1dweb put -> test1dweb drive put

Overview

The Hypercore Protocol is a peer-to-peer network for sharing files and data. This command-line provides a convenient set of tools for accessing the network.

There are two common kinds of "Hypercores":

  • Hyperdrive A folder containing files.
  • DWebTree A key-value database (similar to leveldb).

All data has a URL which starts with test1dweb://. A URL will look like this:

test1dweb://515bbbc1db2139ef27b6c45dfa418c8be6a1dec16823ea7cb9e61af8d060049e/

You use these URLs to access the test1dweb data over the peer-to-peer network. For example:

test1dweb ls test1dweb://515bbbc1db2139ef27b6c45dfa418c8be6a1dec16823ea7cb9e61af8d060049e/
test1dweb cat test1dweb://515bbbc1db2139ef27b6c45dfa418c8be6a1dec16823ea7cb9e61af8d060049e/file.txt
cat diagram.png | test1dweb put 515bbbc1db2139ef27b6c45dfa418c8be6a1dec16823ea7cb9e61af8d060049e/diagram.png

You can create a new ddrive or dwebtree using the create commands:

test1dweb create drive

You can then seed the test1dweb (or seed a test1dweb created by somebody else) using the seed command:

test1dweb seed test1dweb://515bbbc1db2139ef27b6c45dfa418c8be6a1dec16823ea7cb9e61af8d060049e/

To see what hypers you are currently seeding, run info:

test1dweb info

Documentation

The website documentation have a lot of useful guides: