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

@sarch/create-your-app

v1.1.0

Published

管理并使用你自己的模版,快速创建项目。A CLI tool to manage your templates and create projects from Git repositories.

Readme

@sarch/create-your-app

管理并使用你自己的模版,快速创建项目。

一个交互式脚手架工具,帮助你管理 Git 模版仓库,并从中一键创建新项目。内置模版列表管理,支持添加、删除、设为默认,让你打造属于自己的项目模版库。

功能特性

  • 🎯 模版管理 — 交互式模版列表,支持添加、删除、设为默认
  • 默认模版 — 标记常用模版为默认,下次直接选中
  • 🔗 自动收录 — 使用 --template 指定新地址时自动添加到模版库
  • 🚀 交互式 UI — 基于 Ink 的漂亮终端界面,键盘操作流畅
  • 项目冲突检测 — 自动检测目录是否已存在,避免覆盖
  • 🧹 干净的起点 — 克隆后自动移除 .git,让新项目成为独立仓库

安装

使用 npx(无需安装):

npx @sarch/create-your-app

全局安装:

npm install -g @sarch/create-your-app

使用方法

交互式创建项目(推荐)

不带参数运行,进入模版选择界面:

create-your-app

模版选择界面支持以下操作:

| 按键 | 功能 | | ------- | ------------------ | | | 切换选择模版 | | | 确认使用当前模版 | | a | 添加自定义模版 | | d | 删除当前模版 | | s | 将当前模版设为默认 | | q | 退出 |

直接指定项目名

create-your-app my-project

会先进入模版选择,选择后直接开始创建。

指定模版地址

使用 --template-t 参数直接指定 Git 仓库地址,跳过模版选择:

create-your-app my-project -t https://github.com/user/repo

如果该地址不在模版列表中,会自动添加(别名从仓库地址提取)。

查看帮助和版本

create-your-app -h    # 显示帮助信息
create-your-app -v    # 显示版本号

选项

| 选项 | 简写 | 说明 | | ------------ | ---- | ----------------------------------- | | --template | -t | 指定模版 Git 仓库地址,跳过交互选择 | | --help | -h | 显示帮助信息 | | --version | -v | 显示版本号 |

模版数据

模版列表存储在 ~/.create-your-app/templates.json,你可以直接编辑该文件管理模版,也可以通过交互界面操作。

初始内置模版:

| 别名 | 地址 | | -------------------- | --------------------------------------------------- | | react-app-template | https://helpwx.com/webplus/react-app-template.git |

License

MIT