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

@razroo/iso-timeline

v0.1.0

Published

Deterministic time-based next-action planning for AI-agent workflows: compute due, overdue, suppressed, and blocked actions from dated events and local policy.

Readme

@razroo/iso-timeline

Deterministic time-based next-action planning for agent workflows.

iso-timeline turns dated domain events plus a local JSON policy into a compact action queue: upcoming, due, overdue, suppressed, and blocked items. It is MCP-free and model-free, so a domain package can answer "what needs attention now?" without asking an agent to reread growing trackers or reason manually over dates.

Install

npm install @razroo/iso-timeline

CLI

iso-timeline plan --config timeline.json --events events.jsonl --now 2026-04-27T00:00:00Z
iso-timeline due --config timeline.json --events events.jsonl --now 2026-04-27T00:00:00Z
iso-timeline check --config timeline.json --events events.jsonl --fail-on overdue
iso-timeline verify --timeline timeline-result.json
iso-timeline explain --config timeline.json

Events may be a JSON array, an object with an events array, or JSONL with one event per line.

Policy Shape

{
  "version": 1,
  "defaults": {
    "overdueAfter": "7d",
    "latestOnly": true
  },
  "rules": [
    {
      "id": "applied-follow-up",
      "action": "send_follow_up",
      "match": {
        "type": "application.status",
        "where": { "data.status": "Applied" }
      },
      "after": "7d",
      "suppressWhen": [
        { "type": ["application.follow_up", "application.rejected"] }
      ]
    }
  ]
}

Each rule selects matching events, computes dueAt = event.at + after, marks items overdue after overdueAfter, and suppresses or blocks actions when later same-key events match suppressWhen or blockWhen.

Library

import {
  checkTimeline,
  loadTimelineConfig,
  loadTimelineEvents,
  planTimeline,
} from "@razroo/iso-timeline";

const config = loadTimelineConfig(policyJson);
const events = loadTimelineEvents(eventJson);

const plan = planTimeline(config, events, {
  now: "2026-04-27T00:00:00.000Z",
});

const check = checkTimeline(config, events, {
  now: "2026-04-27T00:00:00.000Z",
  failOn: "overdue",
});

Design Boundary

iso-timeline does not decide what a domain considers important. The domain owns the event types, source precedence, and cadence rules. This package only provides the deterministic local planner that evaluates those rules.