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

@tenphi/akno-core

v0.19.3

Published

Akno — the memory layer itself: index, ops, watcher, models

Readme

@tenphi/akno-core

The memory layer itself: config, store, indexer, models, recall, the write path, the watcher and the maintenance cycle. This is the engine behind the @tenphi/akno CLI, published separately so a host can embed it in-process.

The runtime supports macOS and Linux ("os": ["darwin", "linux"]) and carries native dependencies — better-sqlite3 and sqlite-vec. Document extraction uses PDFKit, Vision, and textutil on macOS or external Poppler, Tesseract, and LibreOffice tools on Linux. Missing platform tools produce typed degradation. A host that only needs to talk to a running Akno should depend on @tenphi/akno-client instead, which is portable and has no native code.

import { open } from '@tenphi/akno-core';

const akno = await open({ aknoPath: '~/Notes' });
const result = await akno.call('recall', {
  query: 'What did Bo Winters report about the warranty?',
  memory_view: 'reports',
});

Exactly one process may hold the write handle. A second open on the same state directory returns a read-only handle and says so, rather than racing a live watcher.

akno.changes(limit) lists recent journal entries without page contents. akno.change(changeId) returns one entry with its original committed before / after text and file actions, even after a later write or undo. Binary snapshots stay private to the journal. Trusted socket hosts can use client.command('changes', { change_id: changeId }) when the handshake advertises change_details; the ordinary list form of that command is unchanged. This operator surface is not an agent MCP tool.

The index boundary quarantines complete Markdown merge blocks, configured sync-conflict paths, and duplicate stable page identities before they can reach chunks, facts, graph state, maintenance, or automatic writes. Classification is derived from current files and owner configuration; Akno never rewrites a conflicting file.

Full documentation: github.com/tenphi/akno

License

PolyForm Noncommercial License 1.0.0 © Andrey Yamanov — noncommercial use only.

Hosts can observe an edited Markdown page with akno.observePage("notes/preferences.md", cursor) or the Unix-socket operator command changes {rel_path, after}. page_observations is advertised in the handshake. Each result contains raw current text (null for deletion), ordered committed before/after transitions with their actor, a durable cursor, and hasMore for catch-up pagination. Apply/undo event order survives restarts; existing history is migrated without changing page bytes. Observations return typed busy while service mutations commit, and reject symlinks, unsafe paths, non-page files, and pages larger than 2 MiB. Hosts establish a baseline from a committed change's sequence and reconcile external edits in gaps between journal transitions. This read-only operator surface is not an agent tool.