Back to catalog

uckkk /

uckkk/dsh-ip

Verified

IP 工具:校验/分类 IP 与 CIDR 网段计算

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
READMESource: main@9c10d0ce

dsh-ip · IP 工具

校验/分类 IP 地址,计算 IPv4 CIDR 网段范围。纯 Node 实现。

提供的工具

工具 作用
ip_info 校验/分类 IP
cidr_range CIDR → 网段范围

安装

dsh plugin add dsh-ip

安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-ip"。

用法示例

10.0.0.0/24 的网段范围是多少
→ 调用 cidr_range(cidr="10.0.0.0/24")

安装

dsh plugin add github:uckkk/dsh-ip

安装即在本机运行第三方代码,请自行审阅源码。

安装

dsh plugin add github:uckkk/dsh-ip

使用

安装后在会话中调用该插件注册的工具即可。

许可

MIT

安装即在本机运行第三方代码,请自行审阅源码。

—/ 5

No ratings yet

Community comments

No comments yet. Be the first to write one.