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

qmantd-design

v0.1.2

Published

### 该项目最后发布到npm的目录和文件:

Downloads

5

Readme

ant-design进行定制的react ui组件

该项目最后发布到npm的目录和文件:

├── README.md  
├── package.json  
├── dist  
│   └── qmui-simple.js  
├── src  
│   ├── component  
│   │   ├── QmIcon  
│   │   │   ├── index.js  
│   │   │   └── style  
│   │   │       └── index.less  
│   │   └── style  
│   │       └── theme.less  
│   └── index.js  

使用方法

npm install qui-simple

组件引用

import {QmIcont} from 'qui-simple'

如果你想单独引用某个组件也可以

import {QmIcon} from 'qmui-simple/src/compnent/QmIcon’

样式引用

import 'qmui-simple/src/style/theme.less’

源码项目结构及各个文件作用:

├── README.md                               说明文档  
├── .babelrc                                配置babel的文件  
├── .gitignore                              配置git不需要提交的文件或者目录  
├── dist                                    执行npm run dist,webpack会把src中入口文件index.js打包到该目录下  
│   └── qmui-simple.js                      向外面暴露一个统一的js,供别人使用  
├── example                                 本地例子项目为了本地开发方便  
│   ├── app.js                              可以引用src下面自己开发的组件  
│   └── index.js                            例子项目的入口文件,主要作用是把react组件渲染到页面上  
├── index.html
├── package.json
├── server.js                               本地server,为了本地开发写的简易的server  
├── src                                     源码目录  
│   ├── component                           组件目录  
│   │   ├── QmIcon                          组件名称  
│   │   │   ├── index.js                    组件入口文件  
│   │   │   └── style                       组件的样式目录  
│   │   │       └── index.less              组件的样式入口文件  
│   │   └── style                           公用的样式目录  
│   │       └── theme.less
│   └── index.js                            源码js入口文件,目的是把所有的组件统一打包出去  
├── webpack.dev.config.js                   本地开发npm run start会执行该文件  
└── webpack.production.config.js            发布的时候npm run dist 会执行该文件