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

@tacoreai/heroui

v2.8.8

Published

Tacore 内部维护的 HeroUI ESM 版本,目标是给 `esm.sh` / importmap 场景提供一个更稳定的入口。

Readme

@tacoreai/heroui

Tacore 内部维护的 HeroUI ESM 版本,目标是给 esm.sh / importmap 场景提供一个更稳定的入口。

设计目标

  • 基于仓库锁定的 @heroui/[email protected] 生成单文件 ESM 入口;
  • 只把 reactreact-domframer-motion 保留为外部依赖,避免 React 多实例;
  • 把 HeroUI 的大量子包预先打进一个入口里,减少 esm.sh 在浏览器侧继续追子依赖时遇到的 404 风险;
  • 通过包内的 Tailwind v3 + PostCSS 构建 HeroUI 主题样式,并在模块加载时自动注入一次,兼容老项目只引 JS、不单独引 CSS 的用法;
  • 兼容 packages/esm 本地代理模式,直接通过 https://esm.sh/@tacoreai/heroui 或本地 http://localhost:3008/@tacoreai/heroui 使用。

典型 importmap

{
  "imports": {
    "react": "https://esm.sh/[email protected]",
    "react/": "https://esm.sh/[email protected]/",
    "react-dom": "https://esm.sh/[email protected]",
    "react-dom/": "https://esm.sh/[email protected]/",
    "framer-motion": "https://esm.sh/[email protected]?external=react,react-dom&bundle",
    "@tacoreai/heroui": "https://esm.sh/@tacoreai/[email protected]?external=react,react-dom,framer-motion&bundle"
  }
}

使用方式

import { HeroUIProvider, Button, Card, CardBody } from "@tacoreai/heroui";

包会在浏览器端自动注入编译后的 HeroUI 样式,不需要额外手动引入 CSS。

重新构建

node packages/esm/heroui/build.mjs

构建脚本会同时:

  • styles.css + tailwind.config.js + postcss.config.js 编译 HeroUI 主题样式;
  • 把样式内联注入到最终 index.mjs
  • 校验最终产物只残留 react / react-dom / framer-motion 相关 bare import,避免把新的 HeroUI 子包漏到浏览器运行时。