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

@timedrasil/mio-animations

v0.1.1

Published

A lightweight and high-performance animation library for the modern web, designed to create beautiful constellation effects

Readme

MIO I ANIMATIONS (中文简介)

npm version license github stars

English | 中文

一个轻量级、高性能的 Web 动画库


🌟 功能特性

  • 轻量级: 核心库 Gzip 压缩后仅 22KB。
  • 链式调用: 提供优雅的链式调用 API,轻松构建复杂动画。
  • TypeScript 支持: 基于 TypeScript 开发,提供完整的类型定义。
  • 无依赖: 不依赖任何第三方库。

🎨 Showcase (示例展示)

我们提供了一个交互式的 showcase 页面来展示库的各种动画效果和用法。

➡️ 点击这里访问在线 Demo 你也可以在本地运行它:

  1. 克隆本仓库: git clone https://github.com/TIMEdrasil/MiO-Animations.git
  2. 安装依赖: pnpm install
  3. 在浏览器中打开 showcase/constellation/index.html 文件或启动一个本地服务器来查看。

📦 安装

你可以通过 npm 或 pnpm 来安装 MiO Animations。

# 使用 pnpm
pnpm add @timedrasil/mio-animations

# 使用 npm
npm install @timedrasil/mio-animations

🚀 快速上手

你可以通过多种方式引入和使用本库。

1. 通过 ES Module 引入 (Vite, Webpack)

import { Constellation } from 'mio-animations';

// Initialize the animation on a container element
const myAnimation = new Constellation('.my-container');

2. 通过 <script> 标签直接引入 (浏览器)

你可以直接使用 build 文件夹下的 UMD 文件。

<script src="path/to/mio-animations.umd.js"></script>

<script>
  // The library will be available as a global variable, e.g., MioAnimations
  const myAnimation = new MioAnimations.Constellation('.my-container');
</script>

3. 使用 CommonJS (Node.js 环境)

const { Constellation } = require('mio-animations');

const myAnimation = new Constellation('.my-container');

🤝 如何贡献

本项目目前不接受外部贡献 (Pull Request)。但是,我们非常欢迎你通过提交 Issues 来报告Bug或提出功能建议,感谢你的关注!

📄 许可证

本项目基于 MIT 许可证开源。