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

veloxis

v1.0.0

Published

Ultra-fast, modular HTTP & GraphQL client for Node.js and Browser.

Readme

Veloxis 🚀

License: MIT TypeScript Performance

Veloxis is a modern, ultra-fast HTTP and GraphQL client designed for Node.js and browser environments. Built with a focus on performance, modularity, and TypeScript first-class support.

Key Features

  • Ultra Fast: Minimal abstraction layers over native fetch.
  • 🧩 Modular Architecture: Use only what you need.
  • 📡 REST + GraphQL: First-class support for both, with a unified API.
  • 🔌 Plugin System: Powerful middleware hooks for requests, responses, and errors.
  • 📦 Built-in Plugins: Includes Retry (exponential backoff), Cache (TTL), and Auth.
  • 📄 Advanced Pagination: Reusable utility for cursor and offset-based pagination.
  • 🛡️ Strongly Typed: Full generic support for all requests and responses.
  • 🚦 Interceptors: Async request/response interceptors similar to Axios.
  • ⏱️ Timeout Control: Built-in support via AbortController.
  • 👯 Request Deduplication: Avoid redundant simultaneous calls.

Comparison with Other Clients

| Feature | Veloxis | Axios | Native Fetch | |---------|---------|-------|--------------| | Engine | Native Fetch | XHR / Node HTTP | Native | | GraphQL Support | ✅ Built-in | ❌ (Manual POST) | ❌ (Manual POST) | | Plugin System | ✅ Advanced Hooks | ❌ (Interceptors only) | ❌ | | Bundle Size | 🚀 ~2kb (gzipped) | 📦 ~10kb (gzipped) | 0kb | | TypeScript | 🔥 First-class | ✅ Good | ⚠️ Manual Types | | Auto-Retries | ✅ Plugin (Backoff) | ❌ (Plugin required) | ❌ | | Pagination | ✅ Built-in Utility | ❌ | ❌ | | Deduplication | ✅ Built-in | ❌ | ❌ |

Why choose Veloxis over Axios?

  • Modernity: Axios uses legacy XHR under the hood in browsers. Veloxis leverages native fetch and modern ESM architecture.
  • Speed: Minimal abstraction layers mean Veloxis has significantly lower execution overhead.
  • All-in-One: First-class GraphQL support and advanced pagination utilities are included, not afterthoughts.
  • Modularity: Veloxis's plugin system is more flexible than interceptors alone, allowing plugins to handle their own error recovery and retry logic seamlessly.

Installation

bun add veloxis
# or
npm install veloxis

Quick Start

REST Request

import veloxis from 'veloxis';

const { data } = await veloxis.get('https://api.example.com/posts/1');
console.log(data.title);

GraphQL Query

const data = await veloxis.graphql<Country>('https://countries.trevorblades.com/', {
  query: 'query { country(code: "BR") { name } }'
});
console.log(data.country.name);

Using Plugins

import { Veloxis, retryPlugin, cachePlugin } from 'veloxis';

const api = new Veloxis();
api.use(retryPlugin());
api.use(cachePlugin(60000));

// Request with cache enabled
await api.get('/api/data', { cache: true });

Documentation & Examples

Detailed documentation is available in the /docs folder:

Explore practical code in the /examples folder.

Tests

Veloxis is fully covered by unit and integration tests using Bun test. To run them:

bun test

See Testing Documentation for more details.

Benchmarks

Performance is at the heart of Veloxis. We've implemented explicit benchmarks to measure execution overhead and comparison against standard fetch usage.

Running Benchmarks

bun run bench

What we measure:

  • Execution Overhead: The library's internal processing time vs raw fetch.
  • Plugin Impact: The cost of stacking multiple middlewares.
  • GraphQL Parsing: Speed of structured GraphQL vs manual POST.

Our goal is to remain as close to native fetch speed as possible while providing a rich feature set. See Benchmarks Documentation.

Project Structure

src/         # Source code (modular)
docs/        # Detailed documentation
examples/    # Practical usage examples
tests/       # Unit and integration tests
benchmarks/  # Performance measurement files

License

MIT © AngelitoSystems