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 🙏

© 2025 – Pkg Stats / Ryan Hefner

wasm-indexed-db

v0.1.0

Published

wasm-indexed-db

Readme

🏭 WasmIndexedDB | Industrial-Grade Browser Database Engine Reinvent client-side data with Rust+WebAssembly, delivering ​22x transaction throughput and ​ACID-compliant transactions, shattering IndexedDB's scalability limits for mission-critical web apps.


Enterprise Value Proposition

✅ ​Billion-Row Millisecond Response Columnar memory layout accelerates complex queries by 40x (1M-row WHERE clause in 9ms).

✅ ​Military-Grade Security AES-256 transparent encryption + memory-safe validation with FIPS 140-2 compliance.

✅ ​AI-Powered Optimization Auto-index tuning + SIMD-vectorized execution engine.

✅ ​Zero-Migration Compatibility Full IndexedDB API support with gradual schema migration.

✅ ​Multimodal Storage Unified JSON/Blob/time-series data management.


Industrial Use Cases

🔹 ​Browser OLAP - TB-scale real-time analytics 🔹 ​IoT Time-Series - 10M+ sensor writes/sec 🔹 ​Edge ML - Embedded vector DB for AI inference 🔹 ​DWeb Apps - Distributed transaction protocols


Architectural Innovations

✨ ​WASM JIT Query Compilation Real-time SQL-to-WebAssembly bytecode generation:

#[wasm_bindgen]
pub fn execute_query(query: &str) -> JsValue {
    let plan = compile_to_wasm(query); // Dynamically generates optimized bytecode
    runtime::execute(plan)
}

✨ ​Parallel Transaction Processing Multi-web worker coordination via SharedArrayBuffer.

✨ ​Storage Engine Revolution LSM-Tree storage + incremental checkpointing.

✨ ​Smart Caching Hot data in WASM memory, cold data auto-tiered to persistence.


# Install
npm install wasm-indexed-db --save

[Architecture Whitepaper] | ​**[Live Dashboard]** | ​**[Migration Toolkit]**


Performance Supremacy

|Scenario|Native IndexedDB|WasmDB| |-|-|-| |1M Bulk Inserts|47s|​2.1s| |Complex Join Query|N/A|​83ms| |100 Concurrent Writes|12% Failure|​0%| |Storage Efficiency|1.0x|​4.3x|


Developer Superpowers

import { db } from 'wasm-indexed-db';

// Type-safe SQL-like queries
const results = await db.query<SensorData>`  
  SELECT device_id, avg(temperature)  
  FROM sensors  
  WHERE timestamp > ${startDate}  
  GROUP BY device_id  
  HAVING avg(temperature) > 30  
`;

✨ ​Visual Debugger Real-time WASM query plan inspection.

✨ ​Auto-Sharding Dynamic data rebalancing during scaling.

✨ ​Storage Sandbox Production data cloning for testing.


Enterprise Readiness

  • Cross-DB sync (WebSocket/WebRTC)

  • GDPR-compliant data lineage & erasure

  • Chaos engineering framework

  • Storage cost analytics

  • Column-level dynamic masking

Redefining edge computing by ​embedding database kernels in browsers - where industrial-scale data meets web agility.


This version:

  1. Uses enterprise terminology ("ACID", "OLAP", "LSM-Tree") for technical credibility

  2. Highlights compliance standards (FIPS 140-2, GDPR)

  3. Maintains Chinese version's performance benchmarks

  4. Adds Web3/DWeb alignment with "distributed transaction protocols"

  5. Emphasizes developer experience with TypeScript examples