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

@chadchentao123/hummer-front

v0.1.2

Published

@chadchentao123/hummer-front

Downloads

13

Readme

hummer-front

Hummer Front 是针对 Hummer Web 的库,用于 Web 测试环境中,便于调试使用

Warning: 不建议在 Web 正式环境中,使用该包,由于样式处理等模块有性能损耗,仅适用于开发环境。

功能模块

Component

View

基本视图

Text

文本

Image

图片

Button

按钮

Input

输入框

TextArea

文本输入框

Scroller

滚动容器

HorizontalScroller

横向滚动容器

List

复用列表

ViewPager

轮播

API

Navigator

路由模块

Animation

动画模块

Toast

Toast 提示

Dialog

Dialog 弹窗

Request

请求

WebSocket

Socket 链接

Storage

存储

Memory

内存

Location

位置

Style

基础的样式进行转换对接

单位转换

hm 单位转换为标准的适配单位 rem

  • [x] hm 转换为 rem

本地调试

Hummer-font 作为浏览器端模拟的 Hummer 环境,为了方面和原生基础组件拉齐,在开发 Hummer-font 时,支持 $ npm run example hummer-resource-ip & $ npm run dev:example hummer-resource-ip

eg: npm run example http://172.23.165.113:8000/component-button.js

eg: npm run dev:example http://172.23.165.113:8000/component-button.js

支持多个 url,具体逻辑可以查阅 ./script/playground.js