Socket
Socket
Sign inDemoInstall

@00a/util.network

Package Overview
Dependencies
49
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @00a/util.network

网络的相关方法


Version published
Weekly downloads
2
Maintainers
1
Install size
1.74 MB
Created
Weekly downloads
 

Readme

Source

@00a/util.network

这是一个关于网络的的功能集合

安装

$ yarn add @00a/util.network

使用示例

const { getIpV4 } = require("@00a/util.network");

功能清单

// 获取
getIpV4(); // => 192.168.1.1
getIpV6(); // => ::
getPublicNetworkIp(); // => 202.123.111.23
isAt100tal(); // => true/false

发布日志

@00a/util.network严格遵循 Semantic Versioning 2.0.0 语义化版本规范。

发布周期

  • 修订版本号:每周会进行 bugfix 更新。(如果有紧急的 bugfix,则任何时候都可发布)
  • 次版本号:不定期发布。
  • 主版本号:含有破坏性更新和新特性,不在发布周期内。

0.0.2

2020-07-26

  • 🌟 优化 isAt100tal 判断逻辑
  • 🌟 增加 ping 方法

0.0.1

2020-07-08

  • ⚡️ 初始化项目
  • 🌟 增加 getIpV4方法
  • 🌟 增加 getIpV6方法
  • 🌟 增加 getPublicNetworkIp方法
  • 🌟 增加 isAt100tal方法

FAQs

Last updated on 26 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc