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

@ieter/cli

v1.0.0

Published

快速创建项目的@ieter/cli脚手架工具.

Downloads

13

Readme

@ieter/cli

一个快速创建项目的自定义脚手架工具,支持 Vue 3 和 React 项目模板。

特性

  • 🚀 快速创建 Vue 3 / React 项目
  • 📦 支持多种包管理器(npm、pnpm、yarn、bun)
  • 🎨 支持 JavaScript 和 TypeScript
  • ⚡ 自动安装依赖
  • 🔧 可配置项目信息(名称、描述、作者等)
  • 📝 自动初始化 Git 仓库
  • 🎯 支持自定义模板

安装

# 全局安装
npm install -g @ieter/cli

# 或者使用 npx(推荐)
npx @ieter/cli init my-project

使用方法

创建新项目

# 交互式创建项目
ietercli init

# 指定项目名称
ietercli init my-project

# 使用简写
ietercli init my-project -t vue -l ts

命令行选项

ietercli init [name] [options]

选项:
  -v, --version                显示版本号
  -t, --template <template>    指定项目模板 (vue/react)
  -l, --language <language>    指定开发语言 (js/ts)
  -p, --package-manager <mgr>  指定包管理器 (npm/pnpm/yarn/bun)
  --no-install                 跳过依赖安装
  --no-git                     跳过 Git 初始化
  -h, --help                   显示帮助信息

查看可用模板

ietercli list
# 或
ietercli ls

查看配置

ietercli config --list

项目模板

内置模板

| 模板 | 描述 | | ------- | ----------------- | | vue | Vue 3 + Vite 项目 | | react | React + Vite 项目 |

自定义模板

你可以在 generators 目录下添加自定义模板:

generators/
├── vue/          # Vue 模板
│   ├── package.json
│   ├── src/
│   └── ...
├── react/        # React 模板
│   ├── package.json
│   ├── src/
│   └── ...
└── custom/       # 自定义模板
    ├── package.json
    ├── src/
    └── ...

开发

环境要求

  • Node.js >= 20.x
  • npm >= 9.x

本地开发

# 克隆项目
git clone https://github.com/ieternal/ieter-cli.git

# 安装依赖
npm install

# 构建
npm run build

# 本地测试
node dist/index.js init test-project

项目结构

ieter-cli/
├── src/
│   ├── index.js              # 主入口文件
│   └── utils/
│       ├── constants.js      # 常量配置
│       ├── inquirerCreate.js # 交互式创建
│       ├── initTemplateProject.js # 模板初始化
│       └── installDeps.js    # 依赖安装
├── generators/               # 项目模板
│   ├── vue/
│   └── react/
├── dist/                     # 构建输出
├── package.json
└── README.md

示例

创建 Vue 3 + TypeScript 项目

ietercli init my-vue-app -t vue -l ts

创建 React 项目并使用 pnpm

ietercli init my-react-app -t react -p pnpm

创建项目但不安装依赖

ietercli init my-project --no-install

更新日志

v1.0.0

  • 初始版本发布
  • 支持 Vue 3 和 React 模板
  • 支持多种包管理器
  • 支持项目配置
  • 支持 Git 初始化

License

MIT © ieternal