8000 GitHub - deno-libs/ipaddrjs: Deno port of `ipaddr.js` library
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

deno-libs/ipaddrjs

Repository files navigation

ipaddrjs

GitHub Workflow Status Codecov

Deno port of ipaddr.js library. Used by proxy_addr.

Example

import { isValid } from 'https://deno.land/x/ipaddr.js/mod.ts'

isValid('127.0.0.1') // true

Implementation Status

IP

  • prefixLengthFromSubnetMask
  • toString
  • toNormalizedString
  • toByteArray

IPv4

  • broadcastAddressFromCIDR
  • isIPv4
  • isValidFourPartDecimal
  • isValid
  • networkAddressFromCIDR
  • parse
  • parseCIDR
  • subnetMaskFromPrefixLength
  • match
  • range
  • subnetMatch
  • toIPv4MappedAddress

IPv6

  • broadcastAddressFromCIDR
  • isIPv6
  • isValid
  • networkAddressFromCIDR
  • parse
  • parseCIDR
  • subnetMaskFromPrefixLength
  • isIPv4MappedAddress
  • match
  • range
  • subnetMatch
  • toIPv4Address
  • toRFC5952String

About

Deno port of `ipaddr.js` library

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published
0