1.0.9 • Published 2 years ago
is-ipv6-node v1.0.9
⚠️ This package is deprecated.
Check if String
is an IPv6 address.
Installation
npm install is-ipv6-node
Usage Example
var isIPv6 = require('is-ipv6-node');
console.log(isIPv6('2a02:2770::21a:4aff:feb3:2ee'));
console.log(isIPv6('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.