ipv4-gen

IPV4 ADDRESS GENERATOR =========

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ipv4-gen
0.1.24 years ago4 years agoMinified + gzip package size for ipv4-gen in KB

Readme

IPV4 ADDRESS GENERATOR ========= A small library that generates a random IPv4 address

Installation

npm i ipv4-gen

Usage

const ipv4gen = require("ipv4-gen");
// Generate random IP between 0.0.0.0 and 255.255.255.255
let ip = ipv4gen.genIP();
// Generate IP using specified range
let ip = ipv4gen.genIP("192.168.1.1", "192.168.10.255");