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

@smt-ui-template/page-ets

v0.0.2

Published

smt-ui-te-mplate 考试院模板

Downloads

4

Readme

模版名称

gov-page-frame

解释:

基础政务服务大厅模板

使用说明

  • 该模版要求的最低基础库版本为3.105。
  • 该模版使用了es6语法,需要开启开发者工具的增强编译,操作步骤: 开启说明;同时也需开启上传代码时样式自动补全
  • 该模版展现的数据皆为测试数据,使用的测试数据皆放在mock.js文件里,开发者可以按需修改为自己项目所需的格式和数据。
  • 本模板适用于各政府部门或区县政务服务线上办事大厅快速搭建工作,如社保、公安、税务、教育等部门,模板包含服务类目列表页、二级服务列表页,开发者可根据实际业务分类方式进行二次开发,以实现服务列表清晰、直观、结构化的展现形式。
  • 可通过数据里的theme属性定义当前主题颜色,提供两种配色:蓝色: blue ,红色: red

目录结构

.
├── README.md                           // 模版说明文档
├── package.json                        // 包配置
├── project.swan.json                   // 项目配置文件
├── app.json                            // 小程序配置文件
├── app.css                             // 小程序全局样式
├── app.js                              // 小程序全局逻辑
├── atomic-index.json                   // 模板配置信息
└── @smt-ui-template-page-frame     // 模板文件
    ├── common                          // 公共文件
        └──style                        // 公共样式
            └── color.js                // 公用颜色变量
    ├── images                          // 图片
    ├── pages                           // 模板页面
    │   ├── index                       // 服务大厅首页
    │   └── service                     // 服务列表页
    └── utils                           // 模板工具
        ├── mock.js                     // 查询结果页面测试数据
        └── utils.js                    // 公用方法文件