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

@adaas/auxta

v0.0.6

Published

SDK for Auxta DB to connect and operate

Readme

📦 @adaas/auxta

npm
Release
LinkedIn
License
Open Issues
Documentation
Version

Auxta DB is a purpose-built database that combines the strengths of Elasticsearch and Redis, optimized for one task: fast matching search across both on-disk and in-memory indexes.

It allows you to define vectors with static, computed, and dynamic fields — all searchable and filterable at high speed.

A powerful database solution designed for high-performance context-aware applications. Supports advanced use cases with a developer-friendly SDK and flexible entity modeling.


🧭 Table of Contents

  1. Scenarios & Use Cases
  2. Entities & Data Model
  3. Quick Start
  4. SDK Usage
  5. Common Use Cases
  6. Configuration
  7. Contributing
  8. License
  9. Contact / Support

🚀 Quick Start

Ready to get started with @adaas/auxta? Here's how to fire it up and run your first search.

1. Setup your environment

Add this to your .env file or environment variables:

AUXTA_SERVER_PORT=5656
AUXTA_SERVER_HOST=localhost
AUXTA_SERVER_TOKEN=AUXTA-token:1234-1234-1234-1234
AUXTA_SERVER_CLIENT=auxta-client

Then, initialize the SDK:

import { Auxta, AuxtaCommand } from '@adaas/auxta';
import { RunningTrailVector } from './models';

const auxta = new Auxta();

2. Add your first vector

const trail = new RunningTrailVector({
  distance: 2222,
  averageTime: 50,
  complexity: 'uphill',
  views: ['rocks', 'mud', 'grass', 'sand'],
  features: ['water', 'trees', 'mountains'],
});

const addCommand = new AuxtaCommand().add(trail);
await auxta.query(addCommand);

console.log('Trail added!');

3. Run a search query with conditions

const searchCommand = new AuxtaCommand()
  .search(RunningTrailVector)
  .where('distance', d => d.gte(1000).and().lte(3000))
  .where('views', v => v.in(['mud', 'rocks']).or().in(['water', 'trees']));

const results = await auxta.query<RunningTrailVector>(searchCommand);

console.log('Search returned', results.length, 'items');

And that’s it — you're up and running! 🎉


🎯 Scenarios & Use Cases

1. Dynamic Auctions / Matchmaking

Ideal for short-lived real-time data scenarios such as matchmaking systems in multiplayer games:

  • Define a temporary index
  • Add dimensions like rank, experience, subscription type, game mode, etc.
  • Run the auction or matchmaking process
  • Clear the index afterward

Use Case Example: Matching online players into balanced teams based on multiple attributes in real time.

2. Buyer-Seller Matching

Useful for marketplace platforms with clear category/tag-based logic, but also influenced by dynamic elements like:

  • Real-time budgets
  • Inventory or consumption metrics

Use Case Example: Match service providers with clients based on both fixed profiles and rapidly changing preferences or constraints.

3. API Quote Matching Engine

Perfect for metered APIs with quota-limited access:

  • Multiple API endpoints share a protocol
  • Quotes are evaluated at runtime
  • Users are only granted access to APIs with available call limits or capacity

Use Case Example: A pricing gateway that selects valid API routes based on real-time usage stats and defined business rules.


📂 Entities & Data Model

1. Indexes

Indexes are the main containers that organize vectors. You can think of them like tables or collections, but optimized for fast matching queries on both disk and memory. Indexes support dynamic creation and deletion, allowing flexible workflows such as temporary auction indices.

2. Vectors

Vectors represent the data records stored in an index. Each vector consists of multiple fields — these can be static, computed, or dynamic — describing the entity’s attributes. Vectors are the primary objects that you search, add, or update in Auxta.

3. Dimensions

Dimensions define the searchable properties within vectors. They describe the type, constraints, and how a field participates in search queries, including operators like range filters, sets, or proximity. Dimensions enable fine-grained control over how matching is performed.


🧰 SDK Usage

Coming soon: initialization, queries, mutations, and examples.


📄 License

MIT


📬 Contact / Support