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

create-new-app-cli

v1.0.5

Published

A cli for creating fontend application quickly

Readme

create-new-app-cli

一个帮你快速搭建前端应用的脚手架工具

安装

npm install create-new-app-cli -g

安装完成后就可以在命令行使用 cnac 命令来创建项目了

创建项目

目前只支持 react + webpack 项目,后续会支持 react + vite,vue + webpack,vue + vite等

cnac create demo
  • 执行上面的命令后,会自动拉取项目模板,安装项目依赖,启动项目
  • 由于项目默认安装了一些常用的第三方模块,默认使用npm下载安装,安装可能会花费一些时间,请耐心等待
  • 安装完成后在浏览器输入http://localhost:3000查看项目
  • 注:git clone下载线上模板代码有时会失败,当git clone失败时会自动启用备选方案,从本地拷贝项目以完成项目创建

当前创建的项目已经默认配置了如下信息:

  • 从 0 到 1 使用 webpack 实现的项目打包配置信息
  • 使用 react-router 管理的三个页面
  • 使用 react-redux 管理数据
  • axios 异步请求(通过 redux-thunk 实现 redux 对异步请求的管理管理)
  • antd 组件库

查看项目模板,请移步react-app-template

demo 运行成功后的三个页面:

page-a:通过react-redux,redux-thunk管理的请求的测试数据展示列表

page-b:测试对于prefetch预获取的模块打包

page-c:测试媒体文件的打包