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

ddm-plugin-demo

v2.0.2

Published

一个DDM的插件示例22223444444

Downloads

24

Readme

DDM-PLUGIN-DEMO

这是一个插件的案例哈,主要是为了测试一下

| 姓名 | 年龄 | | -------- | -------- | | 王小明 | 18 | | 王大明 | 48 |

public static void main(String[] args) {

    System.out.println('你好吗?');
}
console.log('大家好,才是真的好')

一、功能简介

  • 支持多注册中心( zookeeper、nacos、dubbo-admin或dubbo-admin相同协议的服务)
  • 支持多数据源同时管理
  • 支持服务搜索、服务收藏、调用历史、服务提供者和消费者展示、 服务启用、禁用、配置编辑
  • 支持服务调用(目前已支持dubbo、http等协议,如有需要可提)、快捷生成invoke命令、支持方法填充(历史参数、默认参数)
  • 支持telnet直接连接到提供者

二、功能截图

三、常见问题

3.1、Mac出现:已损坏,无法打开

需要执行如下命令

sudo xattr -d com.apple.quarantine /Applications/Dubbo-Desktop-Manager.app

3.2、如何配置JDK17+

使用jdk17+需要配置如下jvm参数

 --add-opens java.management/java.lang.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --add-opens java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-exports java.base/sun.security.action=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.base/sun.util.calendar=ALL-UNNAMED

image

3.3、如何连接到dubbo-admin?

  1. 打开dubbo-admin并且打开F12
  2. 从控制台中虽然找到一个发往后台的请求地址,拿到它的前缀

3.4、为什么出现找不到元数据?

  1. dubbo2.7以后才有元数据,如果你是2.7之前的版本,那是没办法进行参数填充的,需要自行补齐参数类型
  2. 如果是2.7之后的版本,那么检查一下是否配置了上报元数据
  3. 如果上面都没问题,可能是元数据未上报....

四、如何自己构建DDM

>>> 点我获得构建DDM的教程

五、参考资料

因为下面这些框架、博客才有这个工具的诞生

首先感谢 MARKSZのBlog 大佬Electron系列博客,大而全,给了我很多参考的地方,也从里面CV了部分代码 博客地址:https://molunerfinn.com/electron-vue-1/#Electron%E7%AE%80%E8%A6%81%E4%BB%8B%E7%BB%8D

终端参考自:https://www.codeprj.com/blog/c9bde01.html

分隔栏参考自:https://github.com/PanJiaChen/vue-split-pane