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

@lians-ai/lians

v0.4.0

Published

TypeScript/JavaScript SDK for Lians — financial-grade AI memory with bitemporal model, SEC 17a-4 audit chain, and GDPR crypto-shred

Readme

@lians-ai/lians

Financial-grade AI memory for TypeScript/Node — bitemporal facts, SEC 17a-4 audit chain, GDPR crypto-shred, information barriers. The TypeScript client for Lians.

Install

npm install @lians-ai/lians
# or: pnpm add @lians-ai/lians   /   yarn add @lians-ai/lians

Requires a running Lians server (docker compose up --build, or a managed endpoint). For zero-setup local prototyping without a server, the Python SDK's LocalLiansClient (SQLite) is the fastest path.

Quickstart

import { LiansClient } from "@lians-ai/lians";

const client = new LiansClient({
  baseUrl: "https://mem.yourfirm.internal",
  apiKey: process.env.LIANS_API_KEY!,
});

// Write a fact with its event time
await client.addMemory({
  agent_id: "equity-desk",
  content: "NVDA FY2026 revenue guidance raised to $40B",
  event_time: "2025-11-19T16:00:00Z",
  metadata: { ticker: "NVDA", metric: "revenue_guidance" },
});

// Recall — superseded facts are excluded at the DB layer, never reach the LLM
const { memories } = await client.recall({
  agent_id: "equity-desk",
  query: "NVDA revenue guidance",
});

// GDPR Art. 17 crypto-shred — content becomes unreadable, audit trail survives
await client.eraseSubject({ subject_id: "subj-123", reason: "GDPR-REQ-1" });

// Point-in-time audit snapshot — what did we know on a past date?
const snap = await client.snapshot({ agent_id: "equity-desk", as_of: "2025-03-01T00:00:00Z" });

// Backtest lookahead-bias guard — flag facts unknowable at the simulation date
const report = await client.backtestCheck({ agent_id: "equity-desk", as_of: "2025-01-01T00:00:00Z" });

What makes Lians different

| Feature | Lians | mem0 | Graphiti/Zep | |---------|:----:|:----:|:-----------:| | Bitemporal model (event + ingestion time) | ✓ | ✗ | ✓ | | Supersession (stale facts excluded at DB layer) | ✓ | ✗ | Partial | | SEC 17a-4 tamper-evident audit chain | ✓ | ✗ | ✗ | | GDPR crypto-shred with audit survival | ✓ | ✗ | ✗ | | Information barriers (PostgreSQL RLS) | ✓ | ✗ | ✗ | | Backtest contamination detection | ✓ | ✗ | ✗ |

See the regulated-eval head-to-head.

TypeScript-first

Fully typed: every request and response is a named interface (MemoryAdd, RecallRequest, RecallResult, EraseRequest, KnowledgeSnapshot, …), exported from the package root. Errors throw a typed LiansError with the HTTP status.

Full documentation: github.com/Lians-ai/Lians