1.0.7 • Published 3 years ago

@mi-sec/ip v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@mi-sec/ip

IP Address utility for parsing and validating IP Addresses

  • Cross-platform - Support for:
    • CommonJS, ECMAScript Modules and UMD builds
    • Node >= 10, 12, 14

npm version lerna

Usage

import ip from '@mi-sec/ip';

ip.validIPv4( '192.168.1.1' ) -> true
ip.longToIp( 3232235777 ) -> 192.168.1.1
ip.ipToLong( '192.168.1.1' ) -> 3232235777
1.0.7

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago