Current Path: > > > usr > lib > > node_modules > > npm > node_modules > errno
Operation : Linux premium131.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 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
.travis.yml | File | 77 bytes | March 10 2021 14:36:40. | |
README.md | File | 4701 bytes | March 10 2021 14:36:40. | |
build.js | File | 1139 bytes | March 10 2021 14:36:40. | |
cli.js | File | 440 bytes | March 10 2021 14:36:40. | |
custom.js | File | 1663 bytes | March 10 2021 14:36:40. | |
errno.js | File | 5610 bytes | March 10 2021 14:36:40. | |
package.json | File | 1534 bytes | March 10 2021 14:36:40. | |
test.js | File | 2642 bytes | March 10 2021 14:36:40. |
#!/usr/bin/env node var request = require('request') , fs = require('fs') , uvheadloc = 'https://raw.github.com/joyent/libuv/master/include/uv.h' , defreg = /^\s*XX\(\s*([\-\d]+),\s*([A-Z]+),\s*"([^"]*)"\s*\)\s*\\?$/ request(uvheadloc, function (err, response) { if (err) throw err var data, out data = response.body .split('\n') .map(function (line) { return line.match(defreg) }) .filter(function (match) { return match }) .map(function (match) { return { errno: parseInt(match[1], 10) , code: match[2] , description: match[3] }}) out = 'var all = module.exports.all = ' + JSON.stringify(data, 0, 1) + '\n\n' out += '\nmodule.exports.errno = {\n ' + data.map(function (e, i) { return '\'' + e.errno + '\': all[' + i + ']' }).join('\n , ') + '\n}\n\n' out += '\nmodule.exports.code = {\n ' + data.map(function (e, i) { return '\'' + e.code + '\': all[' + i + ']' }).join('\n , ') + '\n}\n\n' out += '\nmodule.exports.custom = require("./custom")(module.exports)\n' fs.writeFile('errno.js', out) })
SILENT KILLER Tool