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

hdw2

v1.4.4

Published

鸿蒙前端hdc调试工具

Downloads

445

Readme

鸿蒙next 基于hdc封装的开发调试工具

特色功能

  1. 内置华为hdc工具,无需在华为官网单独下载hdc命令行工具
  2. 鸿蒙应用webview一键调试,避免华为官方提供的复杂的调试步骤
  3. 封装hdc常用功能如设备列表打印,安装HAP,推送文件,拉取文件等操作
  4. 提供其他特色功能如环境检测,webview映射列表打印
  5. 提供hdc其他命令无缝影射hdw hdc xxx,确保可以使用hdc所有命令
  6. 其他特色待陆续添加...

安装

npm install hdw2 -g
或
yarn global add hdw2

快速使用

# 默认使用 hdw即可查看所有命令说明
Usage: hdw <命令> [选项]

Options:
  -v --version  输出当前版本号
  -h, --help    显示帮助信息

Commands:
  check         检查当前环境是否可进行webview调试
  clear         清空当前webview调试端口映射
  config        hdw配置设置、获取、删除等
  debug         开始webview调试
  devices       检查当前环境,获取设备列表
  get           获取hdc常用数据
  hdc           执行hdc命令
  help          显示命令帮助信息
  install       HAP包安装,传参同hdc install
  list          查询当前webview调试端口映射列表
  ls            获取手机端指定目录文件列表,默认为/data/local/tmp/
  pull          拉取文件到本地,默认拉取路径为/data/local/tmp/
  push          推送文件到手机,默认推送路径为/data/local/tmp/
  rm            删除手机端指定文件或目录,默认为/data/local/tmp/
  sandbox       推送文件到应用沙箱
  set           hdc常用设置
  shell         执行hdc shell命令

官方参考文档:
   https://developer.huawei.com/consumer/cn/develop/