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

@henkaku-center/jsonl-reduce

v0.2.0

Published

Generic JSONL session-log reduction engine (Pi v3 dialect first)

Readme

jsonl-reduce

Generic JSONL session-log reduction engine for Chi Commons and future session-log dialects.

The MVP implements portable Pi v3 JSONL first, while keeping the API ready for additional dialect adapters later. This package is intentionally not Chi- or Pi-UI-specific: it owns reduction contracts, deterministic field algebra, model text compression boundaries, lineage, fixtures, and tests.

A canonical title is produced by a separate bounded model call over the reduced semantic summary, normalized to one line, and clamped at a 60-character word boundary without ellipses. A runtime may project that title into its active source session using an adjacent session_info plus chi.commons.projected_title marker. The Pi-v3 adapter mechanically excludes that marked pair from semantic hashes, source coverage, and counts so a generated title never feeds back into its next reduction.

Chi mention markers (chi.messaging.mentions) use an explicit deterministic field reducer. Reduced metadata contains a sparse, content-free mentions index with exact actor, recipient, timestamp, session, and entry references; message text remains only at z=0. Mixed reductions deduplicate by source coordinate and recipient and reject conflicting evidence.

assembleSelection(slices) is the overlap-safe composition boundary for raw and reduced inputs. It validates explicit causal entry order, re-mints placement IDs into a fresh machine-neutral Pi session, provides a synthetic-ID → source refMap, inherits exact raw coverage from reduced artifacts, and refuses intersecting coverage before reduction. Passing the assembled value to jsonlReduce imports a prior artifact's exact aggregate once while using its summary plus uncovered raw entries as semantic input.

See MVP_PLAN.md.