Your IP : 3.145.105.199


Current Path : /opt/alt/alt-nodejs9/root/lib/node_modules/npm/node_modules/is-cidr/lib/
Upload File :
Current File : //opt/alt/alt-nodejs9/root/lib/node_modules/npm/node_modules/is-cidr/lib/index.js

'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isCidrV6 = exports.isCidrV4 = undefined;

var _cidrRegex = require('cidr-regex');

var isCidrV4 = exports.isCidrV4 = function isCidrV4(str) {
  return _cidrRegex.cidrv4.test(str);
};

var isCidrV6 = exports.isCidrV6 = function isCidrV6(str) {
  return _cidrRegex.cidrv6.test(str);
};

exports.default = isCidrV4;

?>