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

@tapirus/wasm

v1.2.1

Published

`@tapirus/wasm` compiles the full Safe-Rust TapirusDB Quad engine (`sql`, `vector`, `graph`, `document`, `ai-memory`, and `XChaCha20-Poly1305` encryption) to WebAssembly via `wasm-bindgen`, exposing JavaScript bindings and the compiled `.wasm` binary insi

Readme

TapirusDB WASM Crate (@tapirus/wasm)

@tapirus/wasm compiles the full Safe-Rust TapirusDB Quad engine (sql, vector, graph, document, ai-memory, and XChaCha20-Poly1305 encryption) to WebAssembly via wasm-bindgen, exposing JavaScript bindings and the compiled .wasm binary inside pkg/.

Key Capabilities

  • Native .tapir Interchange: Open, query, mutate, and export portable .tapir snapshots directly compatible with the native CLI, Rust core, Python SDK, and Node.js SDK.
  • End-to-End Encrypted Browser Vaults: Create and restore XChaCha20-Poly1305 encrypted in-memory databases and .tapir snapshots directly in JS/WASM using TapirusWasm.new_encrypted(passphrase), is_encrypted(), and TapirusWasm.import_encrypted_bytes(bytes, passphrase).
  • Parameterized SQL & Transactions: Execute bound queries (execute_params, query_params_json) with BEGIN, COMMIT, ROLLBACK, savepoints, CTEs, triggers, and constraints.
  • Hybrid AI Memory & GraphRAG: Run store_memory_json, search_memories_json, memory_request_json, graph_rag_query_json, rabitq_quantize_json, and local TAP inference (tap_classify, tap_verify) inside the browser or Node/edge runtimes.

Build & Verify

rustup target add wasm32-unknown-unknown
# Ensure wasm-bindgen-cli matches Cargo.lock, then run from the repository root:
node scripts/build-wasm.js            # Full Quad (@tapirus/wasm) -> pkg/
node scripts/build-wasm.js --lite     # Ultra-light SQL + Crypto (@tapirus/wasm-lite) -> pkg-lite/
node scripts/test-wasm.mjs
node scripts/test-wasm-lite.mjs
node scripts/test-wasm-package.mjs
node scripts/test-browser-workspace.mjs
  • scripts/build-wasm.js generates @tapirus/wasm in crates/tapirus-wasm/pkg/, or @tapirus/wasm-lite (smaller SQL + transaction + XChaCha20-Poly1305 profile) in crates/tapirus-wasm/pkg-lite/ when passed --lite (set WASM_BINDGEN_BIN for a custom CLI path).
  • node scripts/test-wasm-package.mjs packs @tapirus/wasm, installs the tarball offline into a fresh consumer directory, and validates bound SQL, rollback, and snapshot reopen.
  • scripts/package-browser-workspace.js prepares the standalone browser workspace in studio/public/native (--site prepares the website Studio entry).