Javascript IPv4 to Binary to Decimal converter

for this article on Raymii.org

IP:
Binary:

Decimal: