Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swenson1992/ipv6-util-ts
ipv6 utils typescript
https://github.com/swenson1992/ipv6-util-ts
ipv6 ipv6-address ipv6-calulator ipv6-support typescript
Last synced: about 1 month ago
JSON representation
ipv6 utils typescript
- Host: GitHub
- URL: https://github.com/swenson1992/ipv6-util-ts
- Owner: Swenson1992
- Created: 2020-06-09T09:20:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-19T06:27:02.000Z (almost 4 years ago)
- Last Synced: 2024-10-11T17:50:27.745Z (2 months ago)
- Topics: ipv6, ipv6-address, ipv6-calulator, ipv6-support, typescript
- Language: TypeScript
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IPV6 Util TypeScript
## Install
```bash
> yarn add ipv6-util-ts
or
> npm install --save ipv6-util-ts
```## How To Use
```nodejs
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))
```