Skip to content

gokulkrishh/is-valid-ip

Repository files navigation

is-valid-ip Build Status

Check if a string is valid ip address

Install

$ npm install is-valid-ip

Usage

const isValidIP = require("is-valid-ip");

isValidIP("0.0.0.0"); // true

isValidIP("12.255.56.1"); // true

isValidIP("01.02.03.04"); // false

isValidIP("abc.def.ghi.jkl"); // false

MIT Licensed

@gokulkrishh

About

Check if a string is valid ip address

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published