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

@unrulysystems/native-motion-core

v0.1.0-alpha.0

Published

The host-agnostic heart of the system (SPEC-CORE): a deterministic motion graph plus every pure animation subsystem, with **zero host dependencies** — nothing here may import react, react-native, reanimated, gesture-handler, or motion. That law is structu

Readme

@unrulysystems/native-motion-core

The host-agnostic heart of the system (SPEC-CORE): a deterministic motion graph plus every pure animation subsystem, with zero host dependencies — nothing here may import react, react-native, reanimated, gesture-handler, or motion. That law is structural: an oxlint no-restricted-imports rule over src/** (root .oxlintrc.json, run by nub run lint) fails on ANY non-relative import in non-test source (REQ-CORE-003). The native runtime, the web shim, and the conformance harness all consume this one module.

Surface map (src/index.ts)

| Area | Role | Key files | | ------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | | graph / clock / scheduler | The deterministic motion graph: injectable clock + scheduler, motion values with clock-timestamped velocity | graph.ts, clock.ts, types.ts, motion-value.ts (internal) | | spring | Analytic closed-form scalar spring solver | spring.ts | | transition | User transition config → concrete physics; the retarget/interruption seam (retargetSpring seeds from live state) | transition.ts | | timing | Duration + easing tween generator | timing.ts | | value-types | Typed parsers + gamma-aware mixers (numeric/unit, color, complex), unified mix() | value-types/ | | subset | The frozen universal-subset registry — the single source of truth every engine's prop surface derives from | subset/ | | component | The declarative public API contract: Target/Transition (seconds), loud-fail validateTarget, pure resolveTarget | component/ | | driver | The host-agnostic Driver seam + pure per-frame stepProp, reference driver, prop tiers | driver/ | | presence | Exit-lifecycle state machine + controller (present → exiting → removed, settle-coupled) | presence/ | | gesture | Pure gesture math (projection, snap, elastic, velocity normalization) + the begin→active→end/cancel session | gesture/ | | layout | Pure FLIP projection (invert/projectAtProgress, top-left anchored Transform) + measurement lifecycle + projection session | layout/ |

Naming note: src/transition.ts (spring-config resolution, resolveSpring) and src/component/transition.ts (public seconds→ms boundary, toSpringConfig) are different seams that share a basename — read the directory.

Verification

  • 460 colocated unit tests (39 files, src/** plus the scripts/** gate suites), all deterministic under ManualClock/ManualScheduler; green under Vitest.
  • Golden files under src/__goldens__/ pin the pinned-motion oracle's outputs; they are GENERATED by packages/conformance/scripts/gen-*-goldens.mjs (core itself must never import motion-dom) and regenerated only on an intentional oracle bump.
  • Worklet tagging is manifest-driven (scripts/worklet-tagging-manifest.mjs, the single source): scripts/tag-worklet-dist.mjs post-build tags the four FILE-level crossing modules (transition, spring, timing, driver/step), 19 FUNCTION-level directives on the dual-use modules (value-types/color, layout/*), and the tagged worklet-layout/ runtime copies — an un-tagged crossing fails only live on device (0.5.x SIGSEGV / 0.10.x Remote-Function throw), so the lists are closed over transitive callees and verified fail-closed by scripts/check-worklet-banners.mjs (in nub run check) and per-artifact by scripts/check-bundle-worklets.mjs (run by apps/mobile/scripts/proof-build.sh).
cd packages/core && bunx vitest run