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

@chronicle.app/timing-app

v0.4.0

Published

Chronicle plugin for extracting app usage, projects, and time blocks from Timing.app

Readme

@chronicle.app/timing-app

Chronicle plugin that extracts app/screen usage, manually-logged time entries, and relayed phone/FaceTime call history from Timing.app's local SQLite database.

Source

~/Library/Application Support/info.eurocomp.Timing2/SQLite.db (opened read-only). Timestamps are Unix epoch seconds.

Timing is partly a relay: Mac AppActivity/TaskActivity/Project are native, while iOS app usage rides in AppActivity via Apple Screen Time, and Apple Call History rides in Event.

Extraction types

Bare chronicle extract timing-app runs the default extractor — a reverse-chronological merge of the three focused streams below (so --limit 1 is the single most-recent record across all of them). Each stream is also selectable on its own:

| --type | Table | Emits | | ---------------- | ------------------------------ | --------------------------------- | | (none, default) | all three, merged newest-first | — | | app-activities | AppActivity | ExecuteAction + DeviceSession | | time-entries | TaskActivity | ExperienceAction + Session | | calls | Event (call relay) | CallAction + CallSession |

Mapping

  • App usage → ExecuteAction + DeviceSession. The action carries the measured span (startTime/endTime), agent: @me, object: the SoftwareApplication, instrument: the Device, result: the DeviceSession. The session carries isPartOf → Project and, for the on-screen resource, a URL-keyed web Entity or a realm-scoped filesystem entry as its subject. A filesystem entry is keyed by path within the machine's name-keyed :Realm (source: hostname, via inRealm) — not globally, since a path isn't unique. A trailing-slash path is a :Directory and lands on workingDirectory (the terminal CWD / Finder folder the block happened in); any other path IS the media object living there, typed by extension as far as a path-only source can tell (ImageObject/AudioObject/VideoObject/DocumentObject, else a plain MediaObject a byte-reader may refine later). The window title, when it adds anything beyond the subject's name, holds the session's name.
  • Time entry → ExperienceAction + Session. A manually-logged block of real time (Timing's "time entries"; each belongs to a project). The action carries the real occurrence (startTime/endTime, not scheduledStart/scheduledEnd); the lean Session object carries isPartOf → Project, name (title), and description (notes).
  • Project ancestry is nested via isPartOf on the session (leaf → parent → …), not emitted as standalone records.
  • Call relay (--type calls). Timing relays Apple Call History; this plugin reads that DB. It emits CallAction/CallSession under source: apple-call-history
    • the shared call UUID, so it folds with the Apple Call History plugin's richer Apple records — supplying the long tail Apple prunes. Direction is lost and named contacts carry no number, so these are thin (a name, no participant).

Identity

  • App: bundle id (source: apple-bundle-id) where present, else timing-app + executable/title. Never keyed on the local Application.id.
  • Device: timing-app + Device.globalID, with the hardware MAC linked via sameAs (source: mac-address) on Macs.
  • @me: Timing has no account of its own, so the self node is just the @me tag sourced to timing-app (no assumed name); the token merges it with the subject's named identities from other sources.

Usage

# Default merge, recent window (~90 days), newest-first
chronicle extract timing-app

# Full history
chronicle extract timing-app --all --limit 0

# A single focused stream
chronicle extract timing-app --type app-activities
chronicle extract timing-app --type time-entries
chronicle extract timing-app --type calls

# Another copy of the database
chronicle extract timing-app --input /path/to/SQLite.db

Tests use a synthetic Timing SQLite.db and a synthetic AddressBook under a temporary HOME, so they never read the host's Timing data or contacts.