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

@atlaskit/editor-plugin-interactivity

v22.0.0

Published

Interactivity plugin for @atlaskit/editor-core

Readme

Editor Plugin Interactivity

Interactivity plugin for @atlaskit/editor-core

Note: This component is designed for internal Atlassian development. External contributors will be able to use this component but will not be able to submit issues.

Overview

The Interactivity plugin reports the editor interactivity operational event: session-to-date interaction latency distributions for full page editor sessions, per RFC 095. Signals that report one value per session cannot answer how many interactions were slow, so this plugin keeps bucketed counts instead.

What it reports

  • page — every interaction on the page, as totalCount, observedCount, sumMs, maxMs, buckets and percentilesMs. totalCount comes from performance.interactionCount and includes interactions below the 16 ms Event Timing reporting threshold, so totalCount - observedCount is the sub-threshold count. percentilesMs ranks over totalCount, as INP does, so a percentile that falls among the sub-threshold interactions reads as 16.
  • editorTyping, editorPointer and editorOther — the interactions with the editor, in the same shape as page. Event Timing observes the whole document, so page alone cannot say whether a regression is in the editor or elsewhere on the page; these can. Every interaction with the editor is in exactly one of them, and in page as well.
  • editor — the three editor groups as one, in the same shape: the per-session p98 of the editor as a whole, which theirs cannot give.
  • percentilesMs — percentiles of the same interactions, keyed by percentile and exact to the 8 ms Event Timing reports durations at; a per-session metric reads these rather than buckets.
  • Bucket keys are the upper boundary of the bucket in milliseconds and count only interactions above the previous boundary. Buckets are not cumulative and empty buckets are omitted, so a missing bucket means zero. The boundaries are versioned by schema.
  • Snapshots are session-to-date, so a cohort query takes the highest seq per interactivitySessionId and then sums bucket counts.

The editor groups

The plugin collects with @atlaskit/inp-collector, which describes how interactions are counted, their known gaps and the snapshot cadence. The editor is its one region, made of the element the editor renders itself into, which editor-core hands to the plugin's hook as wrapperElement. The region's all, typing, pointer and other become editor, editorTyping, editorPointer and editorOther. What the editor renders outside that element, a dropdown or a dialog in a portal, is counted in page only.

Sessions

A session covers one document in one mode, so its latencies are always comparable with each other. It normally lasts an editor mount, but it also ends while the editor stays mounted when either of those changes — Confluence live pages navigate and switch between reading and editing without remounting the editor. That is reported as reason: 'navigation' or reason: 'modeChange', and the next session starts with a new interactivitySessionId. Sessions of one editor mount share an editorSessionId, which is what stitches them back together.

Install


Usage


Internal use only

@atlaskit/editor-plugin-interactivity is intended for internal use by the @atlaskit/editor-core and as a plugin dependency of the Editor within your product.

Direct use of this component is not supported.

Please see Atlaskit - Editor plugin interactivity for documentation and examples for this package.

Support


For internal Atlassian, visit the slack channel #help-editor for support or visit go/editor-help to submit a bug.

License


Please see Atlassian Frontend - License for more licensing information.