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

@bhaveshbhardwaj7/adbis-shared

v3.1.0

Published

<div align="center"> <h1>🛡️ ADBIS Shared Core</h1> <p><b>The Immutable Zero-Trust Detection & Policy Engine for ADBIS</b></p>

Readme

npm version License

ADBIS (Advanced Data Breach Detection & Incident Response System) is a next-generation, real-time security framework. @bhaveshbhardwaj7/adbis-shared is the neural network of the ecosystem—housing the ultra-fast anomaly heuristics, policy evaluation engine, and strict TypeScript contracts that power the entire suite.

🔥 Why ADBIS Shared?

In modern distributed architectures, millisecond-level threat evaluation is critical. This package is completely decoupled from UI or database logic, meaning it can run anywhere (Edge Functions, Cloudflare Workers, Node backends, or the browser).

  • 🚀 Zero-Day Heuristics: Detects impossible travel (via exact Haversine Math), IP drifts, and suspicious bot patterns out-of-the-box.
  • 🧱 Immutable Contracts: Bulletproof TypeScript schemas that reject corrupted payloads instantly.
  • ⚡ Dynamic Policy Engine: Create PolicyRules that evaluate CRITICAL breaches in microseconds.
  • ⏳ Time-Decay Windows: True temporal decay algorithms to eliminate false positives over time.

📦 Installation

npm install @bhaveshbhardwaj7/adbis-shared

🛠️ Viral Features & Architecture

The Haversine "Impossible Travel" Detector

Stop stolen session cookies instantly. By calculating the exact geospatial curve between network requests, the engine flags accounts moving faster than physical physics allows.

import { haversineDistanceKm } from '@bhaveshbhardwaj7/adbis-shared';

const distance = haversineDistanceKm(req1.lat, req1.lon, req2.lat, req2.lon);
if (distance > 1000 && timeDiffMs < 3600000) {
  // Flagged: Impossible Travel Detected!
}

Pluggable Architecture

Integrate natively into Fastify, Express, Next.js, or NestJS. The StorageAdapter and EventBus contracts allow you to hot-swap SQLite, Redis, or Postgres effortlessly!


🌐 Universal Web Architecture

ADBIS is a completely framework-agnostic universal security product. It does not depend on any specific application structure, backend framework, or frontend library. It is completely decoupled from any hardcoded application logic and works with any website.