Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /usr/lib/node_modules/npm/node_modules/is-cidr//index.js
"use strict";
const cidrRegex = require("cidr-regex");
const re4 = cidrRegex.v4({exact: true});
const re6 = cidrRegex.v6({exact: true});
const isCidr = module.exports = str => {
if (re4.test(str)) return 4;
if (re6.test(str)) return 6;
return 0;
};
isCidr.v4 = str => re4.test(str);
isCidr.v6 = str => re6.test(str);
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 03 2024 22:36:29 | root / root | 0755 | |
| | | | | |
LICENSE | 1.26 KB | March 10 2021 14:36:39 | root / root | 0644 | |
README.md | 1.372 KB | March 10 2021 14:36:39 | root / root | 0644 | |
index.js | 0.317 KB | March 10 2021 14:36:39 | root / root | 0644 | |
package.json | 1.784 KB | March 10 2021 14:36:39 | root / root | 0644 | |