0.1.1 • Published 3 years ago
ip-simple-tool v0.1.1
Ip simple tool 
Ipv4 scope finder, netmask to prefix converter, and ipv4 and netmask validations
Installation
- Install the module with your package manager
	npm i ip-simple-toolUsage
import { ipv4Network } from 'ip-simple-tool';
const network = { 
	address: '10.20.30.40', 
	netmask: '255.255.255.0' 
}
//Make a handler first
const myNetwork = ipv4Network(network)
//Get the network scope
myNetwork.getScope()
/*  OUTPUT
{
	network: string,
	boradcast: string,
	hosts: number,
	prefix: number,
	utilHosts: number
}*/License
MIT License