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

fulu

v1.3.7

Published

``` 1.临时使用 npm --registry http://10.0.1.181:4873 install fulu 2.持久使用 npm config set registry http://10.0.1.181:4873 npm install fulu ```

Readme

#Installation ###By npm

1.临时使用
npm --registry  http://10.0.1.181:4873 install fulu
2.持久使用
npm config set registry  http://10.0.1.181:4873
npm install fulu

#Usage


window下的全局变量
window.allApps: 平台下的所有应用
window.authButtons: 平台下授权的所有按钮
window.merchantInfo: 当前商户的信息

import Flayout from 'fulu';

<Router history={history}>
      <Flayout appName="福禄网络" config={config}>
        <Switch>
          <Route path="/" exact component={IndexPage} />
          <Route path="/user" exact component={User} />
        </Switch>
      </Flayout>
    </Router>
v1.0.3
框架引入业务功能,登录,登出,页面路由,菜单等权限获取基本功能

v1.0.4
修改403问题,调通接口
开发环境可以访问任一路由

v1.0.5
报错window下全局变量给子页面使用:
window.allApps: 平台下的所有应用
window.authButtons: 平台下授权的所有按钮

v1.0.6
将用户信息放在window下
window.userinfo

v1.0.7
将用户信息放在window下
调整获取用户信息的位置

v1.0.8
应用名称fullname改为appName

v1.0.9
修改bug,根据路由显示左侧菜单的状态

v1.0.10
修改根据路由显示左侧菜单的状态

v1.0.11
修改样式

v1.0.12
修改子账号

v1.0.13
修改路由权限判断 调整框架样式
v1.0.14
修改路由判断bug

v1.0.15
新增菜单支持自定义svg图标 初版,后期考虑放到iconFont上去,cdn存取

v1.0.16
菜单图标引入atnd提供的icon

v1.0.17
修改header组件overflow:hidden导致错位的问题

v1.0.18
网络错误提示,侧边栏菜单根据路由变化,更新选中状态

v1.0.19
加入权限判断

v1.0.20
增加错误页面

v1.1.1
http异常处理

v1.1.2
http异常处理

v1.1.3
http异常处理
点击顶部应用跳转到首页

v1.1.4
顶部应用跳转 调用接口判断是否有权限

v1.1.5
增加权限提示

v1.1.6
增加余额显示

v1.1.7
增加余额显示 支持小数点4位

v1.1.8
当前应用显示在最左边
v1.1.9
屏蔽message为空的提示
v1.1.10
更新错误提示图片

v1.1.11
提供接口返回菜单层级列表 用来展示面包屑

v1.1.12
支持点击logo调到首页

v1.1.13
支持点击logo调到首页()

v1.1.14
内容区域增加flex属性
v1.1.15
header设置最小高度

v1.1.16
header设置最小高度

v1.1.17
header设置最小高度