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

@liujitcn/kratos-taro-app-cli

v0.0.29

Published

CLI for creating modular Kratos Taro React workspaces.

Readme

@liujitcn/kratos-taro-app-cli

@liujitcn/kratos-taro-app-cli 用于创建模块化的 Taro React workspace。生成项目默认装配 Kratos core、UI 和 system 包,支持 H5 与微信小程序。

使用

pnpm dlx @liujitcn/kratos-taro-app-cli create customer-app
pnpm dlx @liujitcn/kratos-taro-app-cli create shop-app --module shop,order
pnpm dlx @liujitcn/kratos-taro-app-cli create customer-app --with @acme/customer-module
  • --module:创建 workspace 内的本地业务模块,可重复使用或用逗号分隔。
  • --with:装配一个已发布的 Taro 业务模块,可重复使用。

本地模块包含运行时入口、页面清单和构建期入口。模块页面由 core runner 在构建期间装配到私有宿主,不需要提交生成的页面包装器。

脚手架会在 workspace 根目录生成四套环境文件,使用与 uni-app 一致的 VITE_APP_PORTVITE_APP_BASE_PATHVITE_APP_BASE_APIVITE_APP_API_URLVITE_APP_STATIC_APIVITE_APP_STATIC_URL 变量。

JavaScript 调用方也可以直接使用 scaffoldKratosTaroApp(target, options)