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

@omegaengine/sdk

v1.1.0

Published

Decision infrastructure for autonomous AI — Official TypeScript SDK

Readme

@omegaengine/sdk

Decision infrastructure for autonomous AI — TypeScript SDK

The official TypeScript SDK for OmegaEngine. Full type coverage for all 30+ API endpoints including the Security Intelligence Suite.

Installation

npm install @omegaengine/sdk

Quick Start

import { OmegaClient } from "@omegaengine/sdk";

const omega = new OmegaClient({
  baseUrl: "https://api.omegaengine.ai",
  apiKey: process.env.OMEGA_API_KEY!,
});

// Make a decision
const result = await omega.decide({
  scenario: "Should I approve this $50K wire transfer?",
  context: "VIP customer, 780 credit score, 5yr history",
  domain: "finance",
});

console.log(result.ok);                    // true
console.log(result.decision.verdict);      // "ALLOW"
console.log(result.decision.riskLevel);    // "LOW"

Security Intelligence

Access the full CISO-grade security intelligence platform:

// Get the complete security posture (16 engines, ~5ms)
const posture = await omega.security.posture({
  organization: "Acme Corp",
  industry: "fintech",
});

// Adversarial Robustness Score — the FICO score for AI security
const ars = await omega.security.score();
console.log(`ARS: ${ars.report.score}/1000 (${ars.report.bandLabel})`);

// Security SLA tracking
const sla = await omega.security.sla();
if (sla.sla.violated > 0) {
  console.warn(`${sla.sla.violated} SLAs violated!`);
}

// Threat intelligence feed
const threats = await omega.security.threatIntel("critical");
for (const t of threats.catalog) {
  console.log(`[${t.severity}] ${t.name} — ${t.mitre}`);
}

// Zero-day discovery
const zd = await omega.security.zeroDay();

// Anomaly detection
const anomalies = await omega.security.anomalies();

// Chaos engineering
const chaos = await omega.security.chaos();
console.log(`Resilience: ${chaos.chaos.overallResilience}/100`);

CI/CD Security Gate

Block unsafe deploys in your pipeline:

const gate = await omega.security.ciGate({
  minScore: 700,
  failOn: "high",
  sarif: true,
  commitSha: process.env.GITHUB_SHA,
  branch: "main",
});

if (gate.verdict === "FAIL") {
  console.error(gate._ci.annotation);
  process.exit(1);
}

Or use the GitHub Action:

- name: OmegaEngine Security Gate
  uses: omegaengine/omega-gate@v1
  with:
    api-key: ${{ secrets.OMEGA_API_KEY }}
    min-score: 700
    fail-on: high
    sarif: true

Webhooks

Subscribe to real-time security alerts:

// Register a webhook
const wh = await omega.security.registerWebhook({
  url: "https://your-app.com/webhooks/omega",
  events: ["sla.violated", "zero_day.discovered", "anomaly.spike"],
  secret: "whsec_your_signing_secret",
});

// List registered webhooks
const list = await omega.security.listWebhooks();

Available Webhook Events

| Event | Description | |-------|-------------| | sla.violated | Security SLA threshold breached | | sla.at_risk | SLA approaching violation | | anomaly.spike | Anomalous traffic detected | | zero_day.discovered | Novel adversarial pattern found | | attack.campaign_detected | Cross-tenant coordinated attack | | drift.regression | Safety score decreased | | chaos.failure | Chaos experiment failed | | contract.violation | Model behavior breach | | incident.escalated | Incident escalated to P1/P0 | | regulatory.action_required | New compliance requirement |

Full API Coverage

Intelligence

  • omega.security.score() — Adversarial Robustness Score
  • omega.security.anomalies() — Anomaly detection
  • omega.security.forensics() — Model forensics
  • omega.security.zeroDay() — Zero-day discovery
  • omega.security.threatIntel() — Threat intelligence feed
  • omega.security.surface() — Attack surface graph
  • omega.security.correlate() — Cross-tenant correlation
  • omega.security.fingerprint() — Model fingerprinting
  • omega.security.threatModel() — STRIDE threat model

Operations

  • omega.security.incidents() — Incident timeline
  • omega.security.costs() — Cost attribution
  • omega.security.playbooks() — Response playbooks
  • omega.security.contracts() — Behavior contracts
  • omega.security.sla() — Security SLAs
  • omega.security.chaos() — Chaos engineering
  • omega.security.simulate() — Threat simulation
  • omega.security.tenantRisk() — Tenant risk scoring

Compliance & Reporting

  • omega.security.regulatory() — Regulatory tracker
  • omega.security.maturity() — Maturity model
  • omega.security.sbom() — AI SBOM
  • omega.security.pentest() — Pen test report
  • omega.security.executiveBrief() — Executive brief
  • omega.security.benchmark() — Industry benchmark
  • omega.security.drift() — Safety drift detection

Webhooks & CI/CD

  • omega.security.registerWebhook() — Register webhook
  • omega.security.listWebhooks() — List webhooks
  • omega.security.ciGate() — CI/CD security gate

Configuration

const omega = new OmegaClient({
  baseUrl: "https://api.omegaengine.ai",
  apiKey: "omega_your_api_key",
  retry: {
    maxRetries: 3,
    baseDelay: 500,
    maxDelay: 5000,
  },
});

License

Apache-2.0 — © OmegaEngine Inc.