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

@ai-emart/mindr

v1.1.0

Published

TypeScript SDK for Mindr — persistent codebase memory for AI coding agents

Readme

@ai-emart/mindr

The developer SDK for Mindr — memory-augmented dev tooling. Store architectural decisions, coding conventions, and tech debt in a local or cloud backend, then surface them to any AI agent as a structured session context.

Install

npm i @ai-emart/mindr

Quickstart

import { Mindr } from '@ai-emart/mindr';

const mindr = await Mindr.open({ project: './my-project' });

await mindr.remember('We use tRPC for all internal APIs', { type: 'decision', module: 'api' });
const ctx = await mindr.getSessionContext({ module: 'auth' });
const decisions = await mindr.query({ type: 'decision', module: 'auth' });
const debt = await mindr.getDebt({ severity: 'high' });
const conventions = await mindr.getConventions();

API

Mindr.open(opts)

Opens a client for the given project path. Loads .mindr/config.toml (or accepts an injected config/backend for testing) and returns a connected Mindr instance.

const mindr = await Mindr.open({ project: './my-project' });
// Use an in-memory SQLite database for tests:
const mindr = await Mindr.open({ project: '.', config: { storage: { backend: 'sqlite', sqlite_path: ':memory:' }, ... } });

Call mindr.close() when done to release file handles.

Write

| Method | Description | |--------|-------------| | remember(content, opts?) | Store a memory. opts: type, module, tags, metadata. | | forget(id) | Soft-delete a memory by ID. |

Read

| Method | Description | |--------|-------------| | query(opts?) | Raw MindrMemory[] with optional type, module, since, limit filters. | | getDecisions(opts?) | Structured Decision[], newest-first, "Decision: " prefix stripped. | | getDebt(opts?) | Structured DebtItem[] with location, keyword, file, line. | | getConventions(opts?) | ConventionProfile[] stored by the post-commit hook. | | getSessionContext(opts?) | Token-budgeted SessionContext for AI system prompts. | | getStatus() | MindrStatus — backend type, project path, per-type counts. |

Generate

| Method | Description | |--------|-------------| | regenerateAgentsMd(opts?) | Generate AGENTS.md / CLAUDE.md from stored patterns. |

Migrate

| Method | Description | |--------|-------------| | migrateSqliteToRemembr() | Copy all SQLite memories to Remembr cloud. |

Memory types

decision   — architectural choices and why
convention — code style patterns (auto-detected via tree-sitter)
bug_pattern — recurring bugs
debt       — TODO / FIXME items
note       — free-form notes
context    — commit context (written by the post-commit hook)

Config

Create .mindr/config.toml in your project root, or run mindragent init:

[storage]
backend    = "sqlite"          # or "remembr"
sqlite_path = ".mindr/mindr.sqlite"

[remembr]
base_url = "https://your-remembr-instance.com"

License

MIT