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

react_template_project

v0.0.2

Published

## 特色 1. 路由去中心化 2. 模块按需加载 3. 配置简单, 可扩展性强 4. 使用了[redux-spring](https://github.com/sampsonli/redux-spring), 使用超级简单 5. 开发环境热更新 6. 适应超大型单页面应用开发

Readme

最新react17 + webpack5 + react-router + axios + redux打包构建通用模板

特色

  1. 路由去中心化
  2. 模块按需加载
  3. 配置简单, 可扩展性强
  4. 使用了redux-spring, 使用超级简单
  5. 开发环境热更新
  6. 适应超大型单页面应用开发

经过了多个项目的实践,不停的更新和优化出来的。目前自己做项目也在用。

目录结构

├── build				# 打包构建配置文件目录
│   ├── webpack.config.dev.js				# 开发阶段打包配置文件
│   ├── webpack.config.dll.js				# dll 打包配置文件
│   ├── webpack.config.prod.js		# 生产环境打包配置文件
├── static				# 第三方静态资源目录, 打包后会自动copy到dist目录
├── src                                 # 项目代码目录
│   ├── assets                          # 所有的图片、文件等静态资源
│   ├── common                          # 所有的公共依赖库
│   ├── store                           # store数据中心
│   ├── rootes                            # 子模块根目录
│   ├── store                           # store数据中心
│   ├── index.js                        # 项目入口JS
│   └── index.ejs                      # 主页html文件,开发环境和生产打包共用
├── server.js				# 用于开发环境的服务部署

运行说明

1. 构建dll库

yarn run build:dll 

2. dll 打包后文件加入源码库

把dll打包后生成的文件加入到git管理, 打包后目录static/dll, 只需要运行一次即可。

3. 生产环境打包构建

yarn run build

打包后的文件在dist目录, 直接copy dist目录到发布目录即可

4. 运行开发环境

yarn run dev