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

xmomen-website

v0.0.3

Published

xmomen website template

Readme

结构划分


|--vendor               //可懒加载文件目录(主要为各页面中所用到的控件js及css文件)
|--core                 //必须加载js文件
|--css                  //必须加载css文件
|--js                   //应用相关配置(主要修改此目录)
    |--config           //应用个性化配置,如,页头标题,页尾标题,网站版权信息,国际化等
    |--config.router    //路由配置
    |--config.lazyload  //懒加载配置
|--modules              //页面功能模块(主要修改此目录)
    |--template         //公用模板目录(导航,头部,底部)
        |--header.html  //头部
        |--aside.html   //边栏
        |--nav.html     //导航
        |--footer.html  //底部
    |--i10n             //国际化文件目录
        |--cn.json      //中文
        |--en.json      //英文
        |--...
    |--tools            //各类工具文件(根据业务自定义的指令过滤器等)
        |--directives   //业务性指令
        |--filters      //业务性过滤性
        |--...
    |--user             //功能模块-用户模块
        |--user.js      //用户列表js
        |--user.html    //用户列表html
    |--system
        |--permission.js
        |--permission.html
    |--...
|--index.html           //首页html
|--app.js               //require依赖配置文件
|--

架构设计

前端架构分为核心模块,配置模块,插件模块,业务模块。

核心模块

目录