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

@iflow.cn/iflow-design

v1.0.0

Published

心流设计系统单包:运行时 Token CSS(含 design-spec 生成变量)+ React 组件,一发全有

Readme

@iflow.cn/iflow-design

心流(iFlow)设计系统 单 npm 包:内含 运行时 Token CSS(含 design-specs 同步生成的 iflow.component-tokens.csstokens.json)与 React 组件。安装一次即可,npm publish 只需发这一包

版本说明: 1.x 与早前 npm 上的 0.1.x(旧用途)无兼容约定;若曾依赖旧用法,勿直接升级。

安装

npm install @iflow.cn/iflow-design react react-dom

使用组件

import { Button } from "@iflow.cn/iflow-design";

引入样式(CSS)

推荐:一行全部样式

在项目入口:

import "@iflow.cn/iflow-design/styles";

包含:iflow.tokens.cssiflow.component-tokens.css、组件 dist/index.css

按需拆分

import "@iflow.cn/iflow-design/css";
import "@iflow.cn/iflow-design/component-tokens";
import "@iflow.cn/iflow-design/dist/index.css";

若不需要由 MD frontmatter 生成的变量,可不引 component-tokens

机器可读 token

应用或脚本可读 tokens.json(随包安装):

import meta from "@iflow.cn/iflow-design/tokens.json" assert { type: "json" };

(具体语法取决于你的 Node/Bundler 对 JSON import 的支持。)

本仓库维护: 根目录执行 npm run sync(读 design-specs/*.md 更新 CSS / tokens.json),再 npm run build(tsup)。