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

@thyiad/cli

v1.2.11

Published

一键式快速创建新项目😏

Readme

thyiad-cli

一键快速创建新项目😏

  • 选择困难症救星
  • 所有项目都可以直接run起来预览

    使用了自建的在线mock:https://easymock.thyiad.top

目前提供以下模板:

代码规范都基于 husky + eslint + prettier + pretty-quick + commitlint

react项目

  • react-antd、react-antd-ssr
    • 基于 webpack 从零配置的基础仓库
    • 分别是spa、ssr
    • react + typescript+react-router+antd+hooks(context+useReducer代替了redux)
    • 代码地址:https://github.com/Thyiad/react-ssr
  • react-vite-antd-spa、react-vite-zarm-spa
    • 基于 vite 的基础仓库
    • react + typescript + hooks(context+useReducer代替了redux)
    • antd和zarm分别适用pc、mobile
    • 基于vite的ssr暂未添加
    • 代码地址:https://gitee.com/Thyiad/pt-vite
  • react-antd-pro-v4、react-antd-pro-v2
    • 基于ant design pro的基础仓库,不建议使用了
    • 分别对应 antd pro v4.0、v2.0
    • ts+react+react-router+redux+antd+hooks+umi+dva(v2.0没有hooks)
    • 代码地址:https://gitee.com/Thyiad/pt-react-antd-pro-v4

vue项目

  • vue3-vite-ele-spa
    • ts+vue3+vite+vuex+vue-router+element-plus
  • vue3-vite-vant-spa
    • ts+vue3+vite+vuex+vue-router+vant
  • vue-material
    • 基于vue cli 3.0
    • js+vue+vue-router+vuex+vue-material
    • 很喜欢 material 风格
  • vue-element
    • 基于vue cli 2.0
    • js+vue+vue-router+vuex+element ui

组件/工具库

  • react-ui-lib
    • rollup + typescript 开发自己的 react 组件库
    • 代码仓库:https://gitee.com/Thyiad/pt-ui-lib
  • ts-lib
    • typescript 开发工具库
    • 不使用 webpack 等构建工具
    • 代码仓库:https://gitee.comThyiad/pt-ts-lib

后端项目

  • gin-mongo
    • gin + mongodb + redis + jwt
    • 尚未全部完成
  • koa-mongo
    • koa2 + typescript + mongodb + redis + jwt
  • net-core-webapi
    • .net core 3.1 webapi

计划添加的:

使用

npm install -g @thyiad/cli

thyiad-cli -c projectName

当时为了下载速度,代码存放在gitee上,需要先配置好 gitee 的 ssh 才能正常下载

如果出现代码下载失败,可以自行前往gitee.com下载,项目名均为pt-【name】,例如: https://gitee.com/Thyiad/pt-ui-lib

react-antd和react-ssr-antd在github上也有仓库,地址为 https://github.com/thyiad/react-ssr

react-antd

preview

react-ssr-antd

同 react-antd

react-antd-pro-v4

preview

react-antd-pro-v2

同 react-antd-pro-v4

vue-material

vue-element

login preview

todo

  • [ ] 添加到 npm init 模板

    npm init @thyiad/app -> npx @thyiad/create-app bin: { "create-app": "index.js" }