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

@tetcl/tetclui

v1.0.1

Published

一个HarmonyOS/OpenHarmony App UI库

Downloads

2

Readme

tetclui库

提示:tetclui其中自定义图标会应用三方免费图标,如icomoon、iconfont等,仅用于交流学习,不可商用,若出现版权等问题,自行负责。

介绍

tetclui库是一款面向HarmonyOS/OpenHarmony App UI库集合,通过简单的调用能够构建出精美的UI界面。当前tetclui在孵化阶段,正式上线时间待定。

提供能力

Components(组件)

API(接口)

使用方式

  • 在命令工具中,执行如下命令进行安装,并会在package.json中自动添加依赖。
npm @tetcl/[email protected] --save
  • 在package.json中直接配置如下:
{
  ...
  "dependencies": {
    "@tetcl/tetclui": "^1.0.0"
  }
}

依赖项配置完成后,需要在命令窗口中执行npm install进行安装,或者点击编辑器中的Sync Now进行同步。

npm install
  • icon图标使用
import { TeIcon } from '@tetcl/tetclui'
  • 日志使用
import { TeLog } from '@tetcl/tetclui';

TeLog.printInfo(tag: string, log: string) //打印信息
TeLog.printWarning(tag: string, log: string) //打印警告信息
TeLog.printDebug(tag: string, log: string) //打印调试信息
TeLog.printError(tag: string, log: string) //打印错误信息