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

aspidos

v1.0.9

Published

Hope Shield for Anomaly Systems

Readme

Snyk security monitored

Security: Perfect

Aspidos

🛡 Aspidos

logo

Hope Shield for Anomaly Systems

When systems fail silently, Aspidos becomes the shield.

⚡ TL;DR

Aspidos is a dynamic anomaly stabilization engine.

Not detection. Stabilization.


🚀 Quick Start

const { PandoraDefense } = require('aspidos');

const pd = new PandoraDefense();

// normal event const result = pd.analyze(0.3); console.log(result.level);

// anomaly event const alert = pd.analyze(0.9, { penetration: 0.2 });

if (alert.alert) { console.log('⚠️ System instability detected'); }

🎯 Convergence Demo

const { PandoraDefense } = require('aspidos');
const pd = new PandoraDefense();

// Phase A — Harmonic baseline
const stable = pd.analyze(0.25);
console.log(stable.level);        // 'NORMAL'
console.log(stable.omega.phase);  // 'STABLE_PHASE'

// External noise
pd.analyze(0.85, { penetration: 0.1 });

// Internal rule deviation → RECOVERY_NEEDED
const slapped = pd.analyze(0.4, { theory: 0.95, penetration: 0.05 });
console.log(slapped.core.status);    // 'RECOVERY_NEEDED'
console.log(slapped.core.category);  // 'HIGH_DEVIATION'
console.log(slapped.core.action);    // 'RECOVERING'

// Autonomous re-stabilization
const recovery = pd.analyze(0.3);
console.log(recovery.level);  // 'NORMAL'

// Buffer saturation stress
const cliff = pd.analyze(0.5, { penetration: 0.9 });
console.log(cliff.pgu.level);  // 'OVERLOAD'

❓ Why Aspidos?

Most systems:

  • Use fixed thresholds
  • React after failure
  • Treat anomalies as errors

Aspidos:

  • No fixed thresholds
  • Models anomalies as distortions in a dynamic field
  • Includes built-in stabilization (Ω loop)

👉 This is not monitoring. 👉 This is state control.


🧠 Core Concept

Aspidos models a system as a dynamic field:

  • ΔΨ (DeltaPsi) → distortion
  • PGU → accumulated risk
  • Ω (Omega) → system stability

Flow:

ΔΨ (distortion) → PGU (accumulation) → Ω (stability)

     ┌────────────┐
     │   ΔΨ Engine │
     └─────┬──────┘
           ↓
     ┌────────────┐
     │    PGU     │
     └─────┬──────┘
           ↓
     ┌────────────┐
     │   Ω Loop    │
     └────────────┘

⚙️ Features

ΔΨ Engine — Distortion Detection

Detect anomalies as distortions in a dynamic field rather than fixed thresholds.

PGU Model — Accumulated Risk Field

Continuously integrates risk and detects saturation leading to critical transitions.

Ω Loop — Self-Stability System

Maintains system stability through self-referential feedback dynamics.

Adaptive Behavior

Learns baseline behavior dynamically and adapts to changing environments.

Designed for Critical Systems

Built for environments where silent failure is unacceptable.


🛡 Use Cases

  • Security monitoring systems
  • AI anomaly detection
  • Real-time system health tracking
  • Critical infrastructure monitoring

📦 Installation

npm install aspidos


📁 Project Structure

/src Core engine /examples Node.js examples /demo Browser demo /assets Logos and visuals


🧲 Keywords

anomaly-detection, cybersecurity, ai, complex-systems, control-theory


🧠 Philosophy

Aspidos is built on a simple idea:

Anomalies are not errors. They are distortions in a system trying to remain stable.

We do not just detect them.

«We hold the system together.»


📄 License

MIT License


🌌 Final Note

Aspidos is not just a library.

It is a way to think about systems.

«Not detection. Stabilization.»