is-valid-ip 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