Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
alt-nodejs19
/
root
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
is-cidr
/
File Content:
index.js
"use strict"; const {v4, v6} = require("cidr-regex"); const re4 = v4({exact: true}); const re6 = v6({exact: true}); module.exports = str => re4.test(str) ? 4 : (re6.test(str) ? 6 : 0); module.exports.v4 = str => re4.test(str); module.exports.v6 = str => re6.test(str);
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
LICENSE
1290 bytes
0644
index.js
271 bytes
0644
package.json
889 bytes
0644
N4ST4R_ID | Naxtarrr