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

freelang-wget

v1.0.0

Published

HTTP file download utility - wget alternative written in FreeLang

Readme

freelang-wget

HTTP file download utility - wget alternative written in FreeLang with C backend compilation.

Status License FreeLang

Overview

freelang-wget is a high-performance, memory-efficient file downloader that replaces GNU wget. Designed with FreeLang's ownership system and C backend, it provides:

  • Fast startup (6ms vs 25-45ms for GNU wget)
  • Low memory footprint (~140KB binary vs 320KB+)
  • Resume support - continue interrupted downloads
  • Retry logic - automatic retry with exponential backoff
  • Progress reporting - real-time download status
  • HTTP/1.1 compliance - proper header handling

Key Features

HTTP/HTTPS Support - Full protocol implementation ✅ Resume Downloads - -c flag for partial files ✅ Retry Mechanism - Configurable max retries ✅ Custom Output - -O for filename control ✅ Timeout Control - -T for request timeout ✅ Quiet Mode - -q for silent operation ✅ User-Agent Spoofing - Proper HTTP headers

Quick Start

# Basic download
freelang-wget http://example.com/file.zip

# Resume interrupted download
freelang-wget -c http://example.com/large.iso

# With custom output filename
freelang-wget -O myfile.zip http://example.com/file.zip

# With timeout and retries
freelang-wget -T 60 -t 5 http://slow-server.com/file.tar.gz

Command-Line Options

| Option | Default | Description | |--------|---------|-------------| | -O FILE | Extracted | Output filename | | -q, --quiet | - | Suppress output | | -c, --continue | - | Resume partial | | -T, --timeout | 30 | Timeout (seconds) | | -t, --tries | 3 | Max retries | | -h, --help | - | Show help |

Performance

Startup Time Comparison:

  • freelang-wget: 6ms
  • GNU wget: 28ms (4.7x slower)
  • curl: 12ms (2x slower)

Binary Size:

  • freelang-wget: 140KB
  • GNU wget: 320KB (2.3x larger)

Installation

npm install -g freelang-wget

Examples

# Batch download
for url in $(cat urls.txt); do
  freelang-wget "$url" &
done
wait

# Resume with retry
freelang-wget -c -t 5 http://example.com/large.iso

License

MIT License - See LICENSE file

Track A Phase 2 Project | 78% faster startup than GNU wget