Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> javascript >> node-ip-address
nabia  ] [  aramo  ]
[ 原始碼: node-ip-address  ]

套件: node-ip-address (6.3.0-1)

library for parsing IPv4 and IPv6 IP addresses in node and the browser

ip-address is a library for validating and manipulating IPv4 and IPv6 addresses in JavaScript.

 * Parsing of all IPv6 notations
 * Parsing of IPv6 addresses and ports from URLs with 'Address6.fromURL(url)'
 * Validity checking
 * Decoding of the Teredo information in an address
 * Whether one address is a valid subnet of another
 * What special properties a given address has (multicast prefix, unique
   local address prefix, etc.)
 * Number of subnets of a certain size in a given address
 * Display methods
   * Hex, binary, and decimal
   * Canonical form
   * Correct form
   * IPv4-compatible (i.e. `::ffff:192.168.0.1`)
 * Works in node and the browser (with browserify)
 * ~1,600 test cases

其他與 node-ip-address 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: node-jsbn (>= 1.1.0)
    fast, portable implementation of large-number math in pure JS
  • dep: node-lodash (>= 4.6.0)
    Lo-dash is a Node.js utility library
  • dep: node-sprintf-js (>= 1.1.2)
    Node.js Pure JavaScript sprintf implementation
  • dep: nodejs (>= 6)
    evented I/O for V8 javascript - runtime executable
    同時作為一個虛擬套件由這些套件提供: node-pegjs

下載 node-ip-address

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 14.2 kB68 kB [文件列表]