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

@smoove/core

v0.1.8

Published

A timeline-driven animation engine for Konva. Runs in the browser or on the server and renders to any target.

Readme

@smoove/core

A timeline-driven animation engine for Konva. Keyframe motion that runs anywhere: buttery in the browser, headless on the server.

A Composition is a Konva.Stage that owns a frame clock (fps + duration). A Sequence is a Konva.Layer scoped to a frame range: its updaters run and its layer paints only while the playhead is in range. The engine doesn't care where it runs. In the browser, play() drives a requestAnimationFrame loop. On the server, you step frames manually with setFrame(n) for offline rendering.

Core also ships a built-in flexbox layout system (Flex, Block), a rich Text node, Image/Video/Audio media nodes, interpolate and Easing animation helpers, and a flex-aware wrapper for every Konva shape (Rect, Circle, Star, and the rest), so an app imports its whole drawing vocabulary from one place.

Install

pnpm add @smoove/core konva

konva is a peer dependency, so you pin the version. The package is ESM-only.

Quick example

import { Circle, Composition, Easing, interpolate, Sequence } from "@smoove/core";

const comp = new Composition({
  id: "main",
  fps: 30,
  durationInFrames: 300,
  container: "root",
  width: 800,
  height: 600,
});

// A sequence covering the whole composition, like a "root" layer.
const main = new Sequence();
const circle = new Circle({ x: 100, y: 300, radius: 40, fill: "tomato" });
main.add(circle);
comp.add(main);

main.register((frame) => {
  circle.x(interpolate(frame, [0, 300], [100, 700], { easing: Easing.inOut(Easing.quad) }));
});

// A sequence with its own layer, only painted while in range.
const flash = new Sequence({ from: 90, durationInFrames: 60 });
comp.add(flash);
flash.register((localFrame) => {
  flash.opacity(1 - localFrame / 60);
});

comp.play();

Chain scenes back-to-back with Series, and overlap them with cross-fades, wipes, and WebGL shader transitions via @smoove/transitions.

Ecosystem

Docs

Full documentation lives at smoove.dev.

License

MIT