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 🙏

© 2024 – Pkg Stats / Ryan Hefner

temp-project-hello-test

v0.0.2

Published

npm-package-hello-test

Downloads

2

Readme

开发

  • 1、npm install
  • 2、npm start

开发环境打包

  • npm run build

正式环境打包

  • npm run product

项目架构说明

  • dockerfile为容器云发布的配置文件
  • config为ajax地址的配置文件
  • server为node端代码
  • src为客户端代码,/src/api为api地址的汇总文件
  • public为打包出来的静态文件的地址。

包含的相关技术

  • React (Hooks)
  • Nodejs
  • Mirrorx
  • TypeScript
  • Webpack
  • Gulp
  • Sass
  • Docker
  • Pm2
  • Antd
  • Redis

脚手架包含的内容:

空项目模板

  • 统一的项目目录
  • 统一的入口文件
  • 统一的代码打包方案(热更新、生产环境与开发环境代码隔离等)
  • 统一的代码书写规范示例
  • 统一的组件创建规范示例
  • 统一的ajax请求规范示例(路径单独提取、前缀)
  • 提取常用方法的工具库T.js
  • Typescript使用示例
  • React Hooks使用示例
  • nodejs进程管理示例(pm2.js)
  • 封装Redux的Mirrorx状态管理使用示例
  • 代码提交规范检查校验

公共解决方案

  • 国际化引用方案
  • 图片懒加载方案
  • 服务端渲染方案
  • 请求跨域方案
  • Web安全防御方案

UI初始化

  • UI框架主题色配置
  • UI视觉规范设置(主色、辅色、默认字体及大小、按钮状态、字体图标、选中背景色)
  • 公共样式
  • 移动端适配方案
  • 字体引入解决方案
  • 加载中状态控制方案
  • CSS3样式前缀自动补齐方案