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

@motionstudies/web

v1.2.0

Published

Browser controls and loaders for Motion Studies.

Readme

@motionstudies/web

Browser controls, React widgets, progressive loaders and study styles. ESM with TypeScript declarations. React and React DOM ^19.3.0 are peer dependencies.

npm install --save-exact @motionstudies/[email protected] [email protected] [email protected]
import { observeLayout } from '@motionstudies/web/observe-layout'

const dispose = observeLayout([document.documentElement], () => {
  // Measure your layout and update edition-owned presentation.
})
// Before removing observed elements:
dispose()

Included contracts

  • Controlled timelines, pickers, airport/rail/bus/vehicle cards and deferred button help.
  • Progressive network, repeated-pattern, air and road loading; JSON assets and observed operations.
  • Now clock, browser location, recording, theme application and mounting.

Import styles explicitly from exported subpaths: tokens.css, study-layout.css, study-timeline.css, timeline-scrubber.css or the corresponding widget stylesheet. shell.css is an optional full-page shell scoped to .motion-study. fonts.css supplies self-hosted Inter and DM Mono with their SIL OFL licences.

Keep resolvers and loader options stable. Consumers own playback, service-time mapping, loading presentation and accepted snapshots. Cancel/dispose observers and other owned resources on replacement or unmount; optional loading should preserve a usable scene.

Imports and compatibility

Use explicit extensionless subpaths; there is no root barrel import. The package's exports map lists supported entry points. The four runtime packages share exact version 1.1.0; upgrade them together where used. Published public exports and documented behaviour follow semantic versioning from 1.0. Internal files are not an API. Editions adopt releases explicitly with their own checks.

See the complete package contracts, release instructions and the widget lab. Node 26 and npm 12 are the repository's development target; browser modules require a modern ESM build pipeline.

MIT. Source and issues.

Version 1.0.1 preserves pending and visible keyboard help when an unrelated element leaves the pointer during scene/layout changes. Pointer exits from controls and the tooltip retain their existing dismissal behaviour.

Version 1.1.0 extends the dot-matrix alphabet with German and French accented letters (ä ö ü, é è ê à â ç ô î) and a step-free access pictogram, and exports the bitmaps as @motionstudies/web/dot-matrix-font for renderers that draw their own dots.