1.0.7 • Published 2 years ago
is-ipv4-node v1.0.7
⚠️ This package is deprecated.
Check if String
is an IPv4 address.
Installation
npm install is-ipv4-node
Usage Example
var isIPv4 = require('is-ipv4-node');
console.log(isIPv4('46.19.37.108'));
console.log(isIPv4('Hello World!'));
true
false
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test
License
Distributed under the MIT License.