/ c4f / front / node_modules / ip-address /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]dist/8 months ago -  
[DIR]src/8 months ago -  
[   ]LICENSE8 months ago1.0K 
[TXT]README.md8 months ago4.7K 
[   ]package.json8 months ago2.1K 
README.md

CircleCI codecov downloads npm snyk

ip-address

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

Migrating from 6.x to 7.x

ip-address was rewritten in TypeScript for version 7. If you were using version 6 you'll need to make these changes to upgrade:

Documentation

Documentation is available at ip-address.js.org.

Examples

var Address6 = require('ip-address').Address6;

var address = new Address6('2001:0:ce49:7601:e866:efff:62c3:fffe');

var teredo = address.inspectTeredo();

teredo.client4;    // '157.60.0.1'

Features

Used by

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80