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

creatshare-app-init

v2.1.0

Published

CreatShare 实验室前端项目初始化工具

Readme

creatshare-app-init

初级 Web App 项目初始化工具,CreatShare 互联网实验室荣誉出品

安装

➜  npm install -g creatshare-app-init

➜  yarn global add creatshare-app-init

命令手册

示例

➜  cs create <project-name> # 使用 cs 脚手架快速创建一个最小化 Web App 项目

具体内容

 Usage: cs [options] [command]

 CreatShare 互联网实验室前端 Web App 项目脚手架


 Options:

    -V, --version  output the version number
    -e, --enjoy
    -h, --help     output usage information


 Commands:

    create <dir>  创建一个新的 Web App 项目骨架

结构

该项目结构如下

.
├── .babelrc         # ES6 代码转义规则配置
├── .eslintrc.js     # JavaScript 代码规范配置
├── .gitignore       # Git 不跟踪的特殊文件
├── LICENSE          # 开源协议
├── README.md        # 项目介绍
├── bin              # cs 命令主目录
│   └── index.js     # cs 命令引导文件
├── dist             # cs create 命令参考的模板
├── img              # README.md 引用的图片库
├── lib              # cs 命令依赖的源代码编译成 ES5 后的代码
├── package*.json    # 项目配置
├── src              # cs 命令依赖的源代码
│   ├── create.js    # cs create 命令源码
│   └── cs.js        # cs 命令源码入口文件
└── yarn.lock        # yarn 包管理器的依赖说明

其中,dist 文件夹的结构如下

.
├── .babelrc             # ES6 代码转义规则配置
├── .eslint.js           # JavaScript 代码规范
├── .gitignore           # Git 不跟踪的特殊文件
├── LICENSE              # 开源协议
├── README.md            # 项目介绍
├── material             # README.md 引用的图片库
├── package.json         # 项目配置文件
├── src                  # 源码开发目录
│   ├── favicon.ico      # 网页标题小图标
│   ├── html             # HTML 页面模板目录
│   ├── image            # 图片资源目录
│   ├── manifest.json    # 网络应用清单
│   ├── script           # 脚本文件资源目录
│   └── style            # 样式文件资源目录
├── webpack.config.js    # Webpack 多文件打包基础配置
├── webpack.dev.js       # Webpack 开发环境配置
├── webpack.prod.js      # Webpack 发布上线配置
└── yarn.lock            # yarn 包管理器的依赖说明

该结构即是 cs create <app_name> 命令生成的模板来源

贡献

欢迎你的 PR

开源协议

MIT LICENSE

CreatShare 互联网实验室

CreatShare-logo-powerby.png