Skip to content

Swenson1992/ipv6Arithmetic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipv6-util

Install

> yarn add ipv6-util-ts
or
> npm install --save ipv6-util-ts

How To Use

const ipv6 = require('ipv6-util-ts')

console.log(ipv6.checkipv6("2401:3480:3000::11"))
console.log(ipv6.checkipv6("2401:3480:3000::"))
console.log(ipv6.checkipv6("aaaa:12121:3000:0:0:0"))
console.log(ipv6.checkipv6("192.168.150.12"))

console.log(ipv6.calculate("2001:db8::/48"))
console.log(ipv6.subnet_slashes("2001:db8::/48", 50))

About

ipv6 相关操作

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published