1.0.7 • Published 2 years ago

is-ipv4-node v1.0.7

Weekly downloads
241
License
MIT
Repository
-
Last release
2 years ago

⚠️ This package is deprecated.

is-ipv4-node Logo

Check if String is an IPv4 address.

NPM Package Version NPM Package Downloads NPM Package License

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.