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

ultraton

v1.0.3

Published

Ultra safe HTTP client for critical environments in Node.js

Readme

UltraTon

Ultra safe HTTP client for critical environments in Node.js

UltraTon is an enterprise-grade, highly secure HTTP client for Node.js written in TypeScript. It is built strictly on top of node:https with a core focus on absolute security for high-risk environments. It has zero external dependencies and is designed to mitigate Server-Side Request Forgery (SSRF), Out-Of-Memory (OOM) attacks, and hanging connections (e.g., Slowloris).

Features

  • Zero Dependencies: Built entirely on native Node.js APIs (node:https). Assures a reduced attack surface.
  • Strict Protocol Enforcement: Only connects to secure endpoints (HTTPS).
  • Memory Shield: Implements strict constraints on response payload sizes, providing native protection against memory exhaustion attacks. Optimized using V8 zero-GC allocation controls.
  • Network Control: Absolute, safe-integer bounded timeouts on connections that explicitly reject floating promises, completely neutralizing Slowloris and TCP hung-socket attacks.
  • Protocol Purism (CRLF & Pollution Defense): Actively downcases and filters headers at the pipeline boundary against \r\n\0, rendering HTTP request smuggling and prototype pollution void.
  • Anti-SSRF & DNS Rebinding Mitigation: Deep Dual-Stack (IPv4 & IPv6) IP validation neutralizing localhost SSRF, internal metadata attacks, and split-second DNS Rebinding using a zero-dependency native resolver interceptor. Combined with default-deny redirect policies and secure credential stripping.
  • Sandbox Isolation: Locked constructor implementations physically enforce inner requests to remain native, neutralizing rogue transport injection and monkey-patching.
  • First-class TypeScript Support: Written in TypeScript with strict typings and security-focused interfaces.

Installation

Since UltraTon is designed for enterprise usage and has zero dependencies, you can install it seamlessly:

npm install ultraton

(Note: Requires Node.js >= 24.14.0)

Usage

import { UltraTonClient } from 'ultraton';

const client = new UltraTonClient();

async function run() {
    try {
        const response = await client.get('https://example.com/api/data', {
            headers: {
                'Accept': 'application/json'
            }
        });
        
        console.log(`Status: ${response.statusCode}`);
        console.log(response.data.toString());
    } catch (error) {
        console.error('Request failed:', error);
    }
}

run();

Security Goals & Roadmap

UltraTon is developed in methodical security-focused sprints:

  1. Core Engine: Asynchronous wrapper for node:https and manual buffer management.
  2. Memory Shield: Strict MaxBodySize limits and immediate socket destruction upon overflow.
  3. Network Control: Absolute timeouts for connection and total read time (Slowloris protection).
  4. Anti-SSRF: Default-deny redirect policies and sensitive header stripping across domain hops.
  5. DX & Tooling: Strict TypeScript generics, secure error handling, and final package structuring.
  6. Hardening: CRLF Injection defenses, strict integer boundary verification, floating promise execution prevention, and zero GC allocation buffering.
  7. DX & Composability: Advanced generics, robust Promise-based rejection interfaces, and structural modularity.
  8. Rebinding & Deep SSRF Prevention: Native node:dns interception to block IPv4, IPv6, and IPv4-Mapped internal IP addresses with resilient Dual-Stack resolution mapping.

License

MIT