1.0.12 • Published 4 years ago
ip2d v1.0.12
ip2d
It's a simple lightweight zero cost library to convert an IP address to a decimal value and vice versa.
Usage
const {from_str, to_str} = require("ip2d");
console.log(from_str("127.0.0.1")); // --> 2130706433
console.log(to_str(2130706433)); // --> 127.0.0.1
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!