Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
834 B
17 lines
834 B
1 year ago
|
var net = require("net");
|
||
|
var promisify = require("./_promisify.js");
|
||
|
var bind = function(c, f) { return f && f.bind(c); };
|
||
|
Object.defineProperties(module.exports, {
|
||
|
Server: { enumerable: true, value: net.Server },
|
||
|
Socket: { enumerable: true, value: net.Socket },
|
||
|
Stream: { enumerable: true, value: net.Stream },
|
||
|
//_createServerHandle: // skipping
|
||
|
//_normalizeArgs: // skipping
|
||
|
//_setSimultaneousAccepts: // skipping
|
||
|
connect: { enumerable: true, value: bind(net, net.connect) },
|
||
|
createConnection: { enumerable: true, value: bind(net, net.createConnection) },
|
||
|
createServer: { enumerable: true, value: bind(net, net.createServer) },
|
||
|
isIP: { enumerable: true, value: bind(net, net.isIP) },
|
||
|
isIPv4: { enumerable: true, value: bind(net, net.isIPv4) },
|
||
|
isIPv6: { enumerable: true, value: bind(net, net.isIPv6) },
|
||
|
});
|